LFCS · Question #73
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
The correct answer is A. The list of users that belong to the group. C. The name of the group. E. The password of the group. The /etc/group file stores group account information, including the group name, an optional encrypted group password, and a list of group members.
Question
Options
- AThe list of users that belong to the group.
- BThe home directory of the group.
- CThe name of the group.
- DThe description of the group.
- EThe password of the group.
How the community answered
(42 responses)- A93% (39)
- B5% (2)
- D2% (1)
Why each option
The /etc/group file stores group account information, including the group name, an optional encrypted group password, and a list of group members.
The last field in an /etc/group entry is a comma-separated list of usernames that are members of that group.
The /etc/group file does not store a 'home directory' for groups; home directories are associated with user accounts.
The first field in each /etc/group entry specifies the name of the group.
The /etc/group file does not contain a dedicated field for a group description; this information might be stored in other system-specific directories or databases, but not /etc/group itself.
The third field in an /etc/group entry can contain an encrypted group password if set, though group passwords are less common than user passwords (often represented by an 'x' indicating a password in /etc/gshadow).
Concept tested: /etc/group file structure
Source: https://man7.org/linux/man-pages/man5/group.5.html
Topics
Community Discussion
No community discussion yet for this question.