- Forums
- Linux Hosting
- Command To Show You A List Of All Users In Linux System
today i wanted to know how to list the users in my linux box so the command to do that is easy, i needed to know what shell command to use to show me a list of all the system users [478], Last Updated: Sat May 18, 2024
wallpaperama
Sat Mar 08, 2008
2 Comments
17691 Visits
today i wanted to know how to list the users in my linux box so the command to do that is easy
its this one
cat /etc/passwd
all you have to do is login to your linux shell command promt and send the command above
you will need to have su superuser or root login
/etc/passwd normal rights are : -rw-r--r--
so anybody can read it, and run cat /etc/passwd
https://www.wallpaperama.com/forums/how-to-list-users-in-linux-system-t5850.html