I have given the wrong permission to the /etc
folder
chmod -R 777 /etc
When I want to login as root it gives me an error and the following output.
How can I correct the permissions?
system13@motpl:~$ sudo su
sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
system13@motpl:~$ su root
Password:
su: Authentication failure
system13@motpl:~$
/etc
requires quite a bit of experience. – Gilles 'SO- stop being evil' May 15 '14 at 23:18