nerdexam
CompTIA

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.

Administrative Tasks

Question

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

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)
  • A
    87% (27)
  • B
    3% (1)
  • D
    10% (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.

AThe list of users that belong to the group.Correct

The fourth field in `/etc/group` is a comma-separated list of user names that are members of the group.

BThe home directory of the group.

The home directory is associated with user accounts, usually stored in `/etc/passwd`, not group entries.

CThe name of the group.Correct

The first field in `/etc/group` specifies the group name, which is a unique identifier for the group.

DThe description of the group.

Group descriptions are not a standard field in the `/etc/group` file; this file focuses on group membership and authentication.

EThe password of the group.Correct

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

#/etc/group#group management#user accounts

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice