» Linux » Examen sur Linux » Examen 202 : Networking Administration » Section 1 » Question 4/20
4.All groups are defined in the /etc/group file. Each entry contains four fields in the following order.

groupname, password, GID, member list
GID, groupname, password, member list
groupname, GID, password, member list
GID, member list, groupname, password

Explanation: A typical line in the /etc/group file looks like the following:

project1:x:501:sally,sam,ellen,george

Each field is separated from the others by a colon. The meanings of the four fields are as follows:

Group name The first field (project1 in the preceding example) is the name of the group.
Password The second field (x in the preceding example) is the group password. Distributions that use shadow passwords typically place an x in this field; others place the encrypted password directly in this field.
GID The group ID number goes in this field.
User list The final field is a comma-separated list of group members.

Reference: Roderick W. Smith. Sybex Linux + Study Guide: page 273.

Incorrect Answers
B: This is the incorrect order of fields.
C: This is the incorrect order of fields.
D: This is the incorrect order of fields.

« Question 3 Question 5 »