A Linux administrator is creating a new sudo profile for the accounting user. Which of the following should be added by the administrator to the sudo configuration file so that the accounting user can run /opt/acc/report as root?
A.
accounting localhost=/opt/acc/report
B.
accounting ALL=/opt/acc/report
C.
%accounting ALL=(ALL) NOPASSWD: /opt/acc/report
I wonder if the answers have a typo cause C is almost right but the % sign makes it a group and not a specific user. B only allows the user to execute that command but it doesnt specify root. (ALL) would allow the user to run it as root or another user.
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Mistermiyagi
3 weeks, 1 day agoQubert2
6 months, 3 weeks agomirrblvck
10 months ago