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)
Users|Groups
file /etc/passwd
Primary group number of the user in the system
Group ID (GID)
Users|Groups
comma-delimited list of users belonging to the group, except those for whom this is the primary group
Member list
Users|Groups
The encrypted password of the user (if the value is !, the account is locked).
Encrypted password
Users|Groups
The date of the last password change, as number of days since 01/01/1970. A value of 0 means that the user must change the pw at the next access.
Date of last password change
Users|Groups
The minimum number of days, after a password change, which must pass before the user will
be allowed to change the password again
Minimum password age
Users|Groups
The maximum number of days that must pass before a password change is required.
Max pw age
Users|Groups
The number of days, before the password expires, during which the user is warned that the
password must be changed
PW warning period
Users|Groups
The number of days after a password expires during which the user should update the
password. After this period, if the user does not change the password, the account will be
disabled.
PW inactivity period