sudo – /etc/sudoers is world writable – UBUNTU 14.04 [on hold]

I am having a problem with my terminal. I tried to use sudo but it didn’t work and it gave this error:

sudo: /etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

I think it’s because I used chmod -Rf 777 ./etc is there a way I could bring back the default permission for this?

I tried to use this one :

chmod -Rf 440 /etc/sudoers

but nothing has changed.


Source: ubuntu

Leave a Reply