Today I made a big mistake, I run the command
mv /etc/sudoers{,.bak}
on my ubuntu machine and now sudoers file is missing
This is the message given in terminal wherever I use sudo
sudo: unable to stat /etc/sudoers: No such file or directory
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
How to make that backup file again back to normal and get back sudo
?
mv /etc/sudoers{.bak,}
work? – fedorqui Aug 25 '15 at 13:06permission denied
– Suraj Palwe Aug 25 '15 at 13:08