Workbook 3 User and Groups : Chapter 2 Linux Groups and the /etc/group file Flashcards
1
Q
What is the name of the file in which group ID (GID)’s are found?
A
/etc/group [12]
2
Q
Which fields in /etc/group identify a group’s
(i) name
and
(ii) members?
A
(ii) field 1
(ii) field 4 [12/13]
3
Q
What is a user’s primary group and where can you find that piece of data?
A
It is the default group of his own group [13]
/etc/group
4
Q
What is a user’s secondary group(s) and where can you find that piece of data?
A
A user belonging to another group
/etc/group [13]
5
Q
What commands are used to change group memberships?
A
Only root user can change the group
usermod