5.2 Creating Users and Groups Flashcards
Users|Groups
a file of seven colon-delimited fields containing basic information about users
/etc/passwd
Users|Groups
a file of four colon-delimited fields containing basic information about groups
/etc/group
Users|Groups
a file of nine colon-delimited fields containing encrypted user pws
/etc/shadow
Users|Groups
a file of four colon-delimited fields file containing encrypted group passwords
/etc/gshadow
Users|Groups
world-readable file that contains a list of users, each on a separate line
/etc/passwd
Users|Groups
File: /etc/passwd
name used when user logs into system
Username
Users|Groups
File: /etc/passwd
encrypted pw or an x if shadow pw used
Password
Users|Groups
File: /etc/passwd
ID number assigned to the user in the system
User ID (UID)
Users|Groups
File: /etc/passwd
Primary group number of the user in the system
Group ID (GID)
Users|Groups
File: /etc/passwd
optional comment field used to add extra info about the user - such as full name - and can contain multiple comma-separated entries.
GECOS
Users|Groups
File: /etc/passwd
absolute path of the user’s home directory
Home Directory
Users|Groups
File: /etc/passwd
Absolute path of the program automatically launched when the user logs into the system -
Shell
usually an interactive one like /bin/bash
Users|Groups
world-readable file that contains list of groups - each on a separate line
/etc/group
Users|Groups
file /etc/passwd
name used when the user logs into the system
Username
Users|Groups
file /etc/passwd
encrypted password or an x if shadow pw used
Password
Users|Groups
file /etc/passwd
ID number assigned to the user in the system
User ID (UID)