Chapter 6 Managing Group Accounts Full Test Bank - Answer Key + Test Bank | Linux Essentials 1e Rothwell by William Rothwell. DOCX document preview.
Linux Essentials for Cybersecurity (Rothwell/Kinsey)
Chapter 6 Managing Group Accounts
1) In Linux, access or restrictions can be applied to which of the following for group accounts?
A) Files
B) Directories
C) Other operating system features
D) All of the above
2) Every Linux user is a member of at least one group, and the first group is called the user’s __________ group.
A) main
B) primary
C) key
D) central
3) Any additional groups that a Linux user is a member of, after the first group, are called the user’s __________ groups.
A) secondary
B) minor
C) subordinate
D) lesser
4) Which of the following is a command that provides information on a Linux user’s group membership?
A) grp
B) id
C) uid
D) gid
5) After a Linux user creates a new file, the user can change the group ownership of the file to another group by using which of the following commands?
A) cg
B) ls
C) chgrp
D) touch
6) Which of the following files contains user account information, including the primary group membership for each user?
A) /etc/group
B) /etc/gshadow
C) /etc/groupinfo
D) /etc/passwd
7) Which of the following files stores information about each group, including the group name, group ID (GID), and secondary user membership?
A) /etc/group
B) /etc/gshadow
C) /etc/groupinfo
D) /etc/passwd
8) Which of the following files stores additional information for a group, such as group administrators and the group password?
A) /etc/group
B) /etc/gshadow
C) /etc/groupinfo
D) /etc/passwd
9) Each line in the /etc/group file describes one __________.
A) user
B) program
C) group
D) individual
10) If one line in the /etc/group file appears as adm:x:4:syslog,bo, which field in this example represents the password placeholder?
A) adm
B) x
C) 4
D) syslog,bo
11) If one line in the /etc/group file appears as adm:x:4:syslog,bo, which field in this example represents the group name?
A) adm
B) x
C) 4
D) syslog,bo
12) Which of the following is not a command used to change the contents of the /etc/group file?
A) groupmod
B) groupins
C) groupadd
D) groupdel
13) Default group accounts in a typical Linux system often have GID values under __________.
A) 10
B) 100
C) 1000
D) 10000
14) Which of the following special group accounts is reserved for the system administrator?
A) sudo
B) lp
C) staff
D) root
15) Which of the following special group accounts is used by the operating system to provide access to specific files?
A) lp
B) users
C) adm
D) operators
16) In Linux, the acronym UPG stands for which of the following?
A) User Protocol Groups
B) User Private Groups
C) Unified Protocol Groups
D) Unified Private Groups
17) The purpose of the password field in the /etc/gshadow file is to allow users to temporarily change their primary group by using the __________ command.
A) newgrp
B) groups
C) grep
D) gpasswd
18) A group administrator can create a group account by using which of the following commands?
A) groupnew
B) groupins
C) groupadd
D) newgroup
19) To change the name of an existing group, the group administrator uses the groupmod command with which of the following options?
A) -g
B) -n
C) -1
D) -d
20) To allow a user to manage a group, add them as a group administrator by using the __________ option with the gpasswd command.
A) -a
B) -A
C) -d
D) -m
Document Information
Connected Book
Answer Key + Test Bank | Linux Essentials 1e Rothwell
By William Rothwell