LX0-104 · 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 on Linux systems stores essential information about user groups, including the group's name, its password or a placeholder, and a list of its member users.
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
(31 responses)- A87% (27)
- B3% (1)
- D10% (3)
Why each option
The `/etc/group` file on Linux systems stores essential information about user groups, including the group's name, its password or a placeholder, and a list of its member users.
The fourth field in `/etc/group` is a comma-separated list of user names that are members of the group.
The home directory is associated with user accounts, usually stored in `/etc/passwd`, not group entries.
The first field in `/etc/group` specifies the group name, which is a unique identifier for the group.
Group descriptions are not a standard field in the `/etc/group` file; this file focuses on group membership and authentication.
The second field in `/etc/group` can store an encrypted password for the group; typically, it contains an 'x' indicating that the actual password is in `/etc/gshadow`.
Concept tested: Linux group file structure
Source: https://man7.org/linux/man-pages/man5/group.5.html
Topics
Community Discussion
No community discussion yet for this question.