Chapter 12 Flashcards
Linux is a blank, meaning that it provides features to help multiple individuals use the computer.
multiuser OS
Blanks enable multiple users to share the same computer without causing one another too much trouble
Accounts
Most account features are defined in the blank file, which consists of colon-delimited lines, with each line defining a single account.
/etc/password
The blank field in the /etc/password record is the most relevant feature that usually consists of lowercase letters and numbers. It’s the first field.
username
The blank field in the /etc/password record is the code that is required at login, and is the second field.
password
The blank field in the /etc/password record is a number that tracks accounts and is the third field in a record (usually greater than 1000 for regular users)
user identification number (UID)
The blank field in the /etc/password record tracks account to one or more collection of accounts with predefined permissions. It’s the fourth field in a record.
group identification number (GID)
The blank field in the /etc/password record normally hods the user’s full name, although it can hold other information, and it comes after the GID.
Comment
The blank field in the /etc/password record is a file directory listing for an account’s home base. It comes as the 6th field in the record.
Home directory
The blank field in the /etc/password record is associated with every account and is normally Bash.
Default shell
True or False: The password field in most modern /etc/password files is salted and hashed since the file is available to all users.
False
Where is the salted and hashed password actually stored?
the /etc/shadow file
Name the first field in the record of the /etc/shadow file.
Username
Name the second field in the record of the /etc/shadow file.
password
Name the third field in the record of the /etc/shadow file.
Last password change
In the /etc/shadow file, how is the last password change displayed?
As the number of days since Jan 1, 1970
Name the fourth field in the record of the /etc/shadow file.
Days until a change is allowed
Name the fifth field in the record of the /etc/shadow file.
days before a change is required
Name the sixth field in the record of the /etc/shadow file.
Days of warning before password expiration
Name the seventh field in the record of the /etc/shadow file.
Days between expiration and deacitvation
Name the eighth field in the record of the /etc/shadow file.
Expiration date
in the /etc/shadow file, how is the expiration date for the account displayed.
number of days since Jan 1, 1970
Name the ninth field in the record of the /etc/shadow file that is normally blank
Special flag
The blank file is used to define groups
/etc/group
Name the first field in the record of the /etc/group file.
group name
Name the second field in the record of the /etc/group file.
password