问题一:
sudo: /etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
这个是linux为保证系统安全所做的限制,解决方法运行如下两条命令:
pkexec chmod 555 /etc/sudoers
pkexec chmod 555 /etc/sudoers.d/README
问题二:
sudo:sudo /etc/sudoers is world writable sudo:no valid sudoers sources found ,quitting sudo:unable to initialize policy plugin
sudoers的权限被改了,改回来就好了。
pkexec
chmod
0440
/etc/sudoers