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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What commands are used to change group memberships?

A

Only root user can change the group

usermod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly