Term
Every user account defined on a system is represented by a line the __________ file (use full path) |
|
Definition
|
|
Term
bob:x:500:500:Bob Smith,,,:/home/bob:/bin/bash In this entry from /etc/passwd what do the 500:500 fields indicate |
|
Definition
|
|
Term
The ______ command prints the currently logged in user to the screen. |
|
Definition
|
|
Term
The ______ command is similar prints UID, GID and a list of all the groups to which the currently logged in user belongs |
|
Definition
|
|
Term
True or False: The /etc/passwd file contains a encrypted passwords for all users. |
|
Definition
|
|
Term
The ____________ (use full path) stores the all users encrypted passwords. |
|
Definition
|
|
Term
In the following /etc/shadow file line what are minimum number of days before joe can his password and the maximum number of days before he has to change his password. joe:09ayfa098nq.a0nq4&$&F$:15393:7:90:7:14:: |
|
Definition
7 - minimum before password can be changed 90 - maximum before password must be changed |
|
|
Term
What does the * in the password field in the /etc/shadow file indicate? |
|
Definition
The account cannot be used for login. |
|
|
Term
The _____ command allows a user to execute one command with elevated privileges. |
|
Definition
|
|
Term
True or False: The /etc/sudoers files indicates what users can use the su - root command and which commands they can use. |
|
Definition
False. Users are given privileges for the sudo command in /etc/sudoers. |
|
|
Term
All actions performed with sudo are logged in ________ (full path). |
|
Definition
|
|
Term
________ is used to edit the /etc/sudoers file and will parse the /etc/sudoers before saving to check for syntax errors. |
|
Definition
|
|
Term
When using useradd defaults for the new user are defined in what two files? (full path) |
|
Definition
/etc/login.defs /etc/default/useradd |
|
|
Term
What are the options for useradd to make a home directory and set the UID and GID. |
|
Definition
-m (make home directory) -u (set User ID) -g (set Group ID) |
|
|
Term
After creating a new user with user add the account is _________ if nothing is specified using the -p option. |
|
Definition
disabled -p (encrypted password) |
|
|
Term
True or False. The /etc/login.defs file specifies default email location, password expiration information and range of UIDs and GIDs. |
|
Definition
True (it also includes other stuff) |
|
|
Term
The _____ directory contains commands to set new user environment variables. |
|
Definition
|
|