Re: User management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22:43 14 Jan 2004, I wrote:
| Is there a shell command to display user info (home dir, type of shell, userid)?

Do this:

	grep '^username:' /etc/passwd

or if you're using NIS to hold users:

	ypmatch username passwd

The data format is described by "man 5 passwd".

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

Since I've mentioned the subject of geneology, I'll repeat a story I heard
about a poor fellow over on airstrip one.  Seems he spent the most recent
thirty years of his life tracking down his family history.  Spent hundreds
of pounds, traveled, devoted his life to it.  Then, last month, a cousin
told him he was adopted.  Ahhh, sweet irony.
        - Tim_Mefford <tim@xxxxxxxxxxxxxxxx>


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux