1

I made the following change in the file /etc/sudoers:

sudo  ALL=(ALL) NOPASSWD:ALL

And now I can't use sudo and can't edit /etc/sudoers anymore:

/etc/sudoers: near line syntax error 31 <<<
sudo: parsing error in /etc/sudoers near line 31
sudo: no valid sudoers source found; going out
sudo: unable to initialize policy plugin

Is there a way to solve this problem or will I have to format my ubuntu 20.04?

0 Answers0