CS199_Week_3 Flashcards
At a low level, users are represented by an integer called…?
a User ID (uid).
Every process that runs on the system runs a …?
given uid.
Every file in the file system is owned by a …?
uid
The /etc/passwd file maps uids to…?
user accounts.
User accounts map uids to a…?
username, password, Group Id(s), a home directory, and a login shell.
Passwords are changed with…?
passwd command.
Passwords now store in…?
/etc/shadow
safer to do this, only user root can view file, change password using passwd
Three types of users…?
Normal, root and system.
Normal users…?
- Real people
- Login shell is /bin/bash
- Home directory inside /home
- UID over 500
The root User…?
- UID 0
- Free rein on system: she may modify or remove any file; she may run any command; she may kill any process.
System users…?
- Components of system, not real people
- UID in range 1 -499
- Example : Processes that handle email often run as the username mail
Fundamentally, a group is just…?
an integer group id (gid)
Every process that runs on the system runs…?
under a collection of groups (gids)
The /etc/group file maps gids to…?
group names and group memberships
Every file in the file system is owned by …?
a single gid