Report this

What is the reason for this report?

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

Posted on 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.



This textbox defaults to using Markdown to format your 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.

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

<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>?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.