Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
A . The list of users that belong to the group.
B . The home directory of the group.
C . The name of the group.
D . The description of the group.
E . The password of the group.

Answer: A, C, E

Explanation:

The /etc/group file is a text file that defines the groups and their members on the system.

Each line in the file represents a single group, with the following format:

group_name:password:GID:user_list

The fields are:

group_name: the name of the group

password: the (encrypted) group password, or empty for no password

GID: the numerical group ID

user_list: a comma-separated list of users who belong to the group

Therefore, the fields that can be found in the /etc/group file are the name of the group, the password of the group, and the list of users that belong to the group. The home directory and the description of the group are not part of the /etc/group file format.

Reference: group(5) – Linux manual page

/etc/group file format | Linux#

Latest 102-500 Dumps Valid Version with 194 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments