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 )?
|
|