I screwed up big time. I changed the permission of /etc
in ubuntu 11.10 by using following command
sudo chmod 665 /etc
now when ever i try to use sudo it gives the following error:
sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
Any help will be greatly appreciated because i am new to Ubuntu. I have already tried using su
but it doesnt even login as root and even i give it the right password it always say Authentication Failure
. I don't want to login as root coz its risky and even a newbie in Linux like me is not stupid enough to have such control. I just want to use my sudo
again. I have tried to go into recovery mode as well but I can't get in to recovery mode.