How to list all the users in Ubuntu
Submitted by Koder on Sun, 08/16/2009 - 00:28
One of the easiest ways to list all the users in Ubuntu or linux is to read the passwd file. The following command will output the passwd file and list all the users in the system.
cat /etc/passwd
You will of course need to be root or need sudo privileges.
- Add new comment
- 3126 reads
-


Recent comments
8 hours 19 min ago
2 days 7 hours ago
2 days 11 hours ago
4 days 5 hours ago
4 days 6 hours ago
1 week 6 days ago
4 weeks 1 day ago
4 weeks 1 day ago
4 weeks 2 days ago
5 weeks 5 days ago