nerdexam
CompTIACompTIA

XK0-005 · Question #605

XK0-005 Question #605: Real Exam Question with Answer & Explanation

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

Troubleshooting

Question

A Linux user is trying to execute commands with sudo but is receiving the following error: $ sudo visudo >>> /etc/sudoers: syntax error near line 28 <<< sudo: parse error in /etc/sudoers near line 28 sudo: no valid sudoers sources found, quitting The following output is provided: # grep root /etc/shadow root:*LOCK*:14600:::::: Which of the following actions will resolve this issue?

Options

  • ALog in directly using the root account and comment out line 28 from /etc/sudoers.
  • BBoot the system in single user mode and comment out line 28 from /etc/sudoers.
  • CComment out line 28 from /etc/sudoers and try to use sudo again.
  • DLog in to the system using the other regular user, switch to root, and comment out line 28 from

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-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 configuration#system recovery#single user mode#access control
Full XK0-005 PracticeBrowse All XK0-005 Questions