[CentOS] users & groups

Tue Dec 11 19:55:21 UTC 2007
Paul Heinlein <heinlein at madboa.com>

On Tue, 11 Dec 2007, Hiep Nguyen wrote:

> hi all, i just installed centos 5 with minimal options.  i don't 
> have gui yet, how do i get to see all users & groups created on my 
> box?

The old-fashioned way:

   cat /etc/passwd
   cat /etc/group

The PAM-friendly way:

   getent passwd
   getent group

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/