Groups Flashcards

1
Q

A file that is the storage location for all groups

A

/etc/group

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

Command that creates a group

A

groupadd [options] {group names}

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

Assign a group id

A

groupadd -g 123 sales

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

exit with success if group already exists

A

groupadd -f sales

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

Allow a group to be created with a non-unique group ID

A

groupadd -o -g 123 sales

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

command used to change a group’s attributes. Edits the /etc/group file for you

A

groupmod [options] {group names}

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

flag to change group ID

A

groupmod -g 123 sales

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

rename a group

A

groupmod -n newsales sales

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

command to delete groups from /etc/group

A

groupdel [options] {group names}

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