问题:
sudo:sudo /etc/sudoers is world writable
sudo:no valid sudoers sources found ,quitting
sudo:unable to initialize policy plugin
# Chmod can not be used to modify permissions Demo: Desktop piaoyu.qiu $ LS -la / etc / sudoers -rwxrwxrwx 1 root Wheel 1371 8 9 11 : 28 / etc / sudoers Demo: Desktop piaoyu.qiu $ chmod 440 / etc / sudoers chmod: Change to the MODE ON File Unable / etc / sudoers: Operation not permitted # switch to root Demo: Desktop piaoyu.qiu $ su password: set your password SH - 3.2 # LS the -l / etc / sudoers -rwxrwxrwx 1 root Wheel 1371 8 9 11 :28 /etc/sudoers sh-3.2# chmod 0440 /etc/sudoers sh-3.2# ls -l /etc/sudoers -r--r----- 1 root wheel 1371 8 9 11:28 /etc/sudoers sh-3.2# exit