Show users
How can i list out all the users in the system via command prompt or terminal ?
|
Code:
who |
To get a list of currently logged in users, the command is (suprisingly) users.
Code:
users |
Hi,i cant see the difference between users and who command.Both only show the users currently logged in.I am looking or a command to show all usernames,groupnames ,etc so that i can check if their might be a username i dont know of on a server.
Thanks for any reply.Cheers |
Quote:
Quote:
Quote:
A simple way would be "cat /etc/passwd", but that wouldn't take into account authentication made from different database (like NIS, LDAP, etc ...). |
(1) cat /etc/passwd is OK for <quote>on a server<UnQuote>
(2) contact your dba Note that even background processes require a login - may be "anonymous" End |
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 04:10 AM. |