smooth_buddha
Active Member
hey guys so i wanted to list all users on my machine via commandline. I have created 2 users (accounts)on my linux machine. i did my research and used the follwing commands:
cat etc/passwd
or
getent passwd
now iwas expecting a simple list of 2 users maybe with login info (as there is 2 users on my system).
i then get a big list of users. but i only have made 2 users on my machine. i notice a lot of the names on the list are programs like clamav, nvidia, usbmux, syslog and a whole load more.
Is there a way to just isolate the actual usernames and users of my linux machine, in simple list format????
why does linux class some of my programs as users?????? is this to do with the programs requiring system privalagees in order to run such as clamav (anti virus software or nvidia graphics software)????
cat etc/passwd
or
getent passwd
now iwas expecting a simple list of 2 users maybe with login info (as there is 2 users on my system).
i then get a big list of users. but i only have made 2 users on my machine. i notice a lot of the names on the list are programs like clamav, nvidia, usbmux, syslog and a whole load more.
Is there a way to just isolate the actual usernames and users of my linux machine, in simple list format????
why does linux class some of my programs as users?????? is this to do with the programs requiring system privalagees in order to run such as clamav (anti virus software or nvidia graphics software)????