First page Back Continue Last page Overview Graphics
Users and groups
/etc/passwd stores information about user accounts
Except their passwords, these are at /etc/shadow
A typical /etc/passwd entry:
freenet:x:1004:1004:Freenet Test Account,,,:/home/freenet:/bin/bash
/etc/group stores information about groups
The group passwords are stored in /etc/gshadow
A typical /etc/group entry:
cdrecording:x:1007:alex,ddrew
Notes:
The Andrew servers have interesting /etc/passwd files. Since anyone can use these servers to login, they must hold account information for all CMU students. Try figuring out how many students have active accounts this term (hint: wc is your friend)