nerdexam
CompTIA

SK0-005 · Question #275

A user logs in to a Linux server and attempts to run the following command: sudo emacs /root/file However, the user gets the following message: User userid is not allowed to execute 'emacs' on this se

Sign in or unlock SK0-005 to reveal the answer and full explanation for question #275. The question stem and answer options stay visible for context.

Server administration

Question

A user logs in to a Linux server and attempts to run the following command:

sudo emacs /root/file However, the user gets the following message:

User userid is not allowed to execute 'emacs' on this server. Which of the following would BEST allow the user to find out which commands can be used?

Options

  • Avisudo | grep userid
  • Bsudo -1 -U userid
  • Ccat /etc/passwd
  • Duserlist | grep userid

Unlock SK0-005 to see the answer

You've previewed enough free SK0-005 questions. Unlock SK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Sudo permissions#User access#Troubleshooting access
Full SK0-005 Practice