CompTIA Server+ (SK0-004) — Question 64

A systems administrator is tasked to add an existing user to an existing group on a local Linux system. Which of the following files should be edited to accomplish this task?

Answer options

Correct answer: B

Explanation

The correct answer is B, as the /etc/passwd file contains user account information and is essential for managing user memberships in groups. The /etc/group file is also relevant, but it does not directly store user account details. The /etc/hosts file is unrelated to user management, and /etc/group_membership file is not a standard file in Linux systems.