chapter 14
Which of the following options for a useradd command allows root to specify a supplementary group the user will be a member of.
-G
Which of the following options for useradd command allows root to specify the UID to be associated with the account
-u
Which of the following files contains users ID
/etc/passwd
Which of the files contains encrypted users password information
/etc/shadow
The groupmod can be used to add users to a group
False
For non-root users, the passwd command can be used to specify a user's group ID
True
The groupmod command can be used to changed GID
True
The groupmod command can be used to changed a group name.
True
The useradd command will create a home directory by default for a user
True
The usermod command can be used to do all of the following except
change users max and min password settings
The userdel command will
delete the user account for leave their files by default.
Which command used to determined a users most recent login
last
Which of the following commands run as a root will prevent bob from logging in ?
usermod -L bob
If a user is deleted, the files and directory that the user owned
will show the UID as the owner but not username
Which options for the usermod command can be used to specify a user's group ID. (primary and secondary )(choice you)
-g -G
Which of the following files does the groupadd command use to determined new GID when a GID isn't specified?
/etc/group
Which of the directories contains the user's home directories.
/home
On a system that does not use UPG, the useradd command will also create a usergroup
False
Which of the following commands can be used to modify a group
False
UIDS 1-500 are usually reserved for what kind of users
System accounts such as server processors
Which of the following commands will add group extra to the user bob's current secondary groups
usermod -aG extra bob