How do I list all users (even those not logged in)
I have checked out the man pages on w, who, finger and cannot find anything that will tell me all the users of a system. They all list logged on users.
How do I get a listing of all the users? Is there a way to do this for an entire domain? Thanks. Steve |
hi there,
checking Code:
/etc/passwd regards, slackie1000 |
As slackie1000 mentioned the usernames exist in /etc/passwd.
If you try Code:
cat /etc/passwd | cut -d ":" -f1 This also includes daemons/special accounts. |
All times are GMT -5. The time now is 11:13 AM. |