List of users from command line

Net Llama! netllama
Mon Jan 3 10:00:22 PST 2005


On Mon, 3 Jan 2005, Chong Yu Meng wrote:
> Hi All,
>
> Another elementary question for the gurus on this list :
>
> I need to get a list of user accounts on a server, and though I know I
> can probably do it using webmin or graphical tools, I am specifically
> looking for a command that will do this for me. Can someone help?
>
> Thanks in Advance !

Depends on where the accounts are stored.  If its just locally, then
looking in /etc/passwd should do the trick

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                netllama at linux-sxs.org
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com


More information about the Linux-users mailing list