How to see all the users in Linux.

April 27, 2008 | In: Linux

This list the users.

======================
cat /etc/passwd | grep /home | cut -d: -f1
======================

you may add users using

useradd
passwd
It will ask for password

delete the user using

userdel

Comment Form