Where/how in CentOS can I get a nice list of all the usernames on the system? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070712/3bd17215/attachment.html>
The file /etc/passwd should show all the system users (if you are using local loging and not NIS or other remote authentication systems), you will also see many systems users (like a user for apache, mysql, etc). On 7/12/07, Rogelio Bastardo <scubacuda at gmail.com> wrote:> Where/how in CentOS can I get a nice list of all the usernames on the > system? > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rogelio Bastardo wrote:> Where/how in CentOS can I get a nice list of all the usernames on the > system? ># cat /etc/passwd Seperated by username, password, UID, GID, home directory, shell # cat /etc/group Use this to see group information. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFGltVhHoeeepPau2ERAnDTAJ4yjbFkYIeKV1GtLha4diWqtc/vXACg1Eta +itJdoL8nI0m2Xm+vg+V/jQ=/Sjf -----END PGP SIGNATURE-----
On Thu, Jul 12, 2007 at 06:25:06PM -0700, Rogelio Bastardo enlightened us:> Where/how in CentOS can I get a nice list of all the usernames on the > system?'getent passwd' should be portable across any account storage accessible through pam. Matt -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263