Quantcast
Channel: How to modify an invalid '/etc/sudoers' file? - Ask Ubuntu
Viewing all articles
Browse latest Browse all 19

How to modify an invalid '/etc/sudoers' file?

$
0
0

How do I edit an invalid sudoers file? It throws the below error and it's not allowing me to edit again to fix it.

Here is what happens:

$ sudo visudo>>> /etc/sudoers: syntax error near line 28 <<<sudo: parse error in /etc/sudoers near line 28sudo: no valid sudoers sources found, quitting

Viewing all articles
Browse latest Browse all 19

Latest Images

Trending Articles





Latest Images