CH16 Flashcards
UIDs 1-499 are usually reserved for what kind of users?
Remote Log-In Accounts
Are not used for user accounts, but for group accounts.
System Accounts, such as Server processes.
Log-In (Human) Users
System Accounts, such as Server processes.
The groupmod command can be used to change a group name?
True
False
True
The groupmod command can be used to change a group GID?
True
False
True
Which of the following files does groupadd command use to determine the new GID when a GID isn’t specified?
/etc/user
/etc/shadow
/etc/passwd
/etc/group
/etc/group
Which of the following commands will add the group extra to the user jane’s secondary groups in addition to jane’s current secondary groups?
usermod -a extra jane
usermod -ag jane extra
usermod -aG extra jane
usermod -G extra jane
usermod -aG extra jane
Which option for the usermod command can be used to specify a user’s primary group ID?
- g
- S
- G
- s
-g
The userdel -r command will?
…will prompt before deleting each file owned by a user
…delete the user account, but leave the user’s files by default
…automatically delete a user and the user’s home directory and mail spool and their contents.
…automatically delete a user and all the files owned by that user.
…automatically delete a user and the user’s home directory and mail spool and their contents.
The groupdel command can be used to delete primary groups?
True
False
False
Which of the following commands can be used to modify a user?
adduser
moduser
useradd
usermod
usermod
Which command allows you to view or change some of the default values used by useradd command?
useradd -D
useradd -r
modvalue
useradd -f
useradd -D