QuestionQ72

VerifiedServices and User Management

A systems administrator needs to grant privileged access to a particular user on a Linux system. Which command should the administrator use?

Explanation

usermod -aG sudo username appends the user to the sudo supplementary group, whose members can receive administrative privileges through the system’s sudoers configuration. The -a option preserves the user’s existing supplementary-group memberships.

Community Discussion

No comments yet. Be the first to start the discussion!