MOD E03: Authentication & Authorization Flashcards
Which of the following are not one of the three basic Linux user accounts?
- Administrative User
- Authentication User
- Regular User
- Service Account
Authentication User
Which type of account is defined as an account having the necessary privileges to perform standard tasks on a Linux computer?
- Administrative User
- Authentication User
- Regular User
- Service Account
Regular User
Which type of account handles things such as mail, Apache, and printing?
Service account
Local passwords are stored where?
(Hint: Full file path name required)
/etc/shadow
Another name for a root account is what?
super user
Passwords are encrypted and displayed as an incomprehensible string of characters known as a _________.
hash
Of the following what is located in the /etc/shadow file?
- Contains a list of local users and their data
- Defines groups and associated accounts
- Contains encrypted passwords
- Contains executable binaries
Contains encrypted passwords
What is the 3rd block in the /etc/passwd file?
- Username
- User ID
- GID
- User Info
User ID
What is the 6th block in the /etc/passwd file?
- Password
- Shell
- User Info
- Home Dir
Home Dir
What file, defined in this lesson, contains user information?
- /etc/shadow
- /etc/tmp
- /etc/passwd
- /etc/var
/etc/passwd
What principle is applied to privileged accounts?
least
Which of the following is not a safe way to manage password?
- require the password to be changed periodically
- reuse of old passwords
- require that they be of some level of complexity
- require the use of characters and symbols
reuse of old passwords
What command is used to add a new user?
useradd
What command can be utilized to add a user to the HOME_DIR?
useradd -d
What command can be used to set passwords to expire?
Format is the full command.
sudo passwd -e