List of questions
Related questions
Question 277 - XK0-005 discussion
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?
A.
Log in directly using the root account and comment out line 28 from /etc/sudoers.
B.
Boot the system in single user mode and comment out line 28 from /etc/sudoers.
C.
Comment out line 28 from /etc/sudoers and try to use sudo again.
D.
Log in to the system using the other regular user, switch to root, and comment out line 28 from /etc/sudoers.
Your answer:
0 comments
Sorted by
Leave a comment first