LPIC-1 Exam 102 v5 (Linux Administrator) — Question 91

Which of the following files assigns a user to its primary group?

Answer options

Correct answer: C

Explanation

The /etc/passwd file contains user account information, including the primary group ID for each user. The other files serve different purposes: /etc/group lists group information, /etc/shadow stores secure user password data, /etc/pgroup and /etc/gshadow are not standard files for group assignments.