解决 /etc/sudoers is world writable
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
linux系统中,etc文件夹下的sudoers文件是我们常用sudo指令的配置文件。我们可能会通过修改sudoers去修改指令。
但是如果修改不当则会出现以下情况:
sudo:sudo /etc/sudoers is world writable
sudo:no valid sudoers sources found ,quitting
sudo:unable to initialize policy plugin
这样的情况的出现一般是 sudoers文件本身成为了可读和可写的状态。并且可以被所有人读写。
解决问题的办法很简单:
chmod =r /etc/sudoers
这样即可正常使用sudoers文件。




A beautiful web dashboard for Linux
最近提交(Master分支:5 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)