sudoers是世界可写的错误 [英] sudoers is world writable error
本文介绍了sudoers是世界可写的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我更改了Ubuntu 12.10上的/ect文件权限,以便可以编辑bash.bashrc,以便neo4j可以看到JVM,但现在尝试运行neo4j服务器时出现错误
I changed the /ect file permissions on Ubuntu 12.10 so that i could edit bash.bashrc so that neo4j can see the JVM but now I am getting errors when i try run the neo4j server
我输入了以下代码,并设法编辑了bash.bashrc,但现在我根本无法使用sudo!
I entered the code below and I managed to edit bash.bashrc but now i cant use sudo at all!
sudo chmod -R ugo+rw /ect
sudo -u neo4j /home/neo4j-community-1.8/bin/neo4j start
sudo: /etc/sudoers is world writable
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin
我阅读了一个论坛,一个人说我需要再次重新安装ubuntu,我希望不是这样吗? 请帮助!!
I read a forum and a guy said I need to re-insatll ubuntu again, I hope this is not the case? Please HELP!!
推荐答案
我认为我已经使用此命令对其进行了整理
I think i have sorted it out using this command
pkexec chmod 0440 /etc/sudoers
我现在可以做
sudo -s
root@ubuntu:~#
这是否足以解决问题?
这篇关于sudoers是世界可写的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文