Hi, any idea how to resolve the issue instead of run in single user mode?
I've set file permissions to 666 for /usr/local/etc/sudoers and I cannot change it back again...
I've set file permissions to 666 for /usr/local/etc/sudoers and I cannot change it back again...
Code:
user@serv:~ % sudo chmod 660 /usr/local/etc/sudoers
sudo: /usr/local/etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
user@serv:~ % chmod 660 /usr/local/etc/sudoers
chmod: /usr/local/etc/sudoers: Operation not permitted