Exam 102-500 Topic 2 Question 26 Discussion
Actual exam question for Lpi's 102-500 exam
Question #: 26
Topic #: 2
Question #: 26
Topic #: 2
Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)
Suggested Answer: A,C,E Vote an answer
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. References:
* group(5) - Linux manual page
* /etc/group file format | Linux#
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. References:
* group(5) - Linux manual page
* /etc/group file format | Linux#
by Newman at Jun 03, 2024, 10:23 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).