How to see all the users in Linux.

April 27, 2008 on 7:55 am | In Linux | No Comments

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

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment