Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

attributes of a user 1

Status
Not open for further replies.

testman1

Vendor
Oct 7, 2007
135
US
Can someone tell me how I can show all of the attributes of a user?
 
grep -w username /etc/passwd /etc/shadow /etc/group will tell you most things (home directory, shell, whether they have a password, password expiry times, group membership, etc.).

id -a will show their group membership in a more human readable format.

passwd -S username will show their password settings in a slightly more readable format.

Is that what you mean by attributes?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top