"/etc/sudoers is world writable" on Mac OS X Mavericks

s7ven picture s7ven · Nov 19, 2013 · Viewed 18.5k times · Source

Currently, I am working on an OSX Maverick, and I can't use sudo command in Terminal.


My-Mac:~ phucnd$ sudo

sudo: /etc/sudoers is world writable

sudo: no valid sudoers sources found, quitting.

How can i fix it ?

Answer

Kendrick johnson picture Kendrick johnson · Nov 17, 2015

Finder → Go → Go to folder:

and enter /etc/sudoers and push Go button.

Right click on the sudoers and change ther permission.