Troubleshooting
A Linux operator must restart one service using their own credentials, without receiving a root password or unrestricted administrative access. What should the administrator configure?
Show the answer
Correct answerA. A sudo policy permitting only the required command
AWhy this is right: A sudo policy can limit elevated access to the required service-management command.
BWhy not this: A shared root password violates the credential requirement and provides broader access.
CWhy not this: A root login shell provides unrestricted privileges rather than command-specific authorization.
DWhy not this: An interactive root session does not restrict the operator to restarting the designated service.
A sudo policy can authorize a specific command while authenticating the operator with their own credentials. An su login using the root password grants a broader root session and requires sharing that password.