LPIC-1 Exam 102 v5 (Linux Administrator) — Question 32
Which of the following statements is true if the UID of a regular user is identical to the GID of a group?
Answer options
- A. UID have precedence over GIDs, therefore the user is available while the group doesn't.
- B. The user as well as the group are not available to avoid ambiguity due to the ID conflict.
- C. UIDs and GIDs are independent of each other, therefore the user as well as the group are still available.
- D. The user is the only member of the group, even if the group configuration contains other members.
- E. GIDs have precedence over UIDs, therefore the group is available while the user isn't.
Correct answer: C
Explanation
The correct answer is C because UIDs and GIDs operate independently, meaning a user can still exist alongside a group even if their IDs match. Option A incorrectly suggests that UIDs take precedence, while B states that both become unavailable, which is not true. Option D implies exclusivity in group membership, and option E reverses the precedence, which is also incorrect.