由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - where is user.list
相关主题
能这样么?Korn shell script
[转载] 再来一份UNIX的题。question
owner of filehow to change the log in shell?
Apache中如何加入用户和口令?where is the passwd file stored
怎么能查到自己的uid?Can I use user account to setup a ftp server?
bad root shell?Where to download Sun UNIX?
[转载] 关于unix用户帐号看看下面这个至少要多少行
hotkey in unixsimple unix question
相关话题的讨论汇总
话题: where话题: user话题: username话题: its话题: unix
进入Unix版参与讨论
1 (共1页)
l***r
发帖数: 459
1
where is user.list in UNIX, which I can check its user id by
using its username? Thanks a lot!
w*****n
发帖数: 94
2
/etc/passwd

【在 l***r 的大作中提到】
: where is user.list in UNIX, which I can check its user id by
: using its username? Thanks a lot!

l***r
发帖数: 459
3
sorry, maybe my question is not clear. I check /etc/passwd
and it only
explain some about root, deamon, sys, ftp .... There is no
specific
information on user id.
I wonder how to check user id. like I know username is
woodman, I want
to know user id for it? Also, I want to know how to get
information
reversely (user id-> username )?
Thanks a lot!!!

【在 w*****n 的大作中提到】
: /etc/passwd
w*****n
发帖数: 94
4
getpwnam, getpwuid - get password file entry

【在 l***r 的大作中提到】
: sorry, maybe my question is not clear. I check /etc/passwd
: and it only
: explain some about root, deamon, sys, ftp .... There is no
: specific
: information on user id.
: I wonder how to check user id. like I know username is
: woodman, I want
: to know user id for it? Also, I want to know how to get
: information
: reversely (user id-> username )?

m*****e
发帖数: 4193
5
ypcat -k passwd

【在 l***r 的大作中提到】
: sorry, maybe my question is not clear. I check /etc/passwd
: and it only
: explain some about root, deamon, sys, ftp .... There is no
: specific
: information on user id.
: I wonder how to check user id. like I know username is
: woodman, I want
: to know user id for it? Also, I want to know how to get
: information
: reversely (user id-> username )?

1 (共1页)
进入Unix版参与讨论
相关主题
simple unix question怎么能查到自己的uid?
请问在unix/linux能隐身吗?bad root shell?
mount question?[转载] 关于unix用户帐号
No shell ?hotkey in unix
能这样么?Korn shell script
[转载] 再来一份UNIX的题。question
owner of filehow to change the log in shell?
Apache中如何加入用户和口令?where is the passwd file stored
相关话题的讨论汇总
话题: where话题: user话题: username话题: its话题: unix