困难重重
ohmyfo
这个作者很懒,什么都没留下…
展开
-
xxx is not in the sudoers file解决方法
用sudo时提示"xxx is not in the sudoers file. This incident will be reported.其中XXX是你的用户名,也就是你的用户名没有权限使用sudo,我们只要修改一下/etc/sudoers文件就行了。下面是修改方 法:1)进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。(当然,你也可以转载 2009-10-10 16:24:00 · 643 阅读 · 0 评论 -
sudo: /etc/sudoers is mode 0640, should be 0440解决办法
ubuntu中,/etc/sudoer 的权限为 0440时才能正常使用,否则sudo命令就不能正常使用。出现类似:sudo: /etc/sudoers is mode 0640, should be 0440 的对话。解决办法:1、Ctrl+Alt+F1 进入文本模式。用超级用户登录,如root2、输入:chmod 0440 /etc/sudoers Enter3、exi转载 2009-10-10 16:29:00 · 721 阅读 · 0 评论