Question

Everytime I try to install phpmyadmin or enable mod rewrite I get an error

  • Posted August 17, 2013

This is the error:

sudo: parse error in /etc/sudoers near line 1 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin

I have tried apt-get update and still the same.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

<b>“sudo: parse error in /etc/sudoers near line 1”</b> <br> <br>Can you copy 'n paste, here, line 1 of <code>/etc/sudoers</code>?

Did you edit /etc/sudoers manually? You should edit it using visudo instead: <br> <br><pre>EDITOR=nano visudo</pre>