您的位置:首页 > 其它

is not in the sudoers file. This incident will be reported

2011-01-01 19:36 781 查看
新安装的fedora,使用sudo 命令出现“is not in the sudoers file. This incident will be reported”

解决方法如下:

#su -

 #chmod u+w /etc/sudoers

#visudo

在root ALL=(ALL) ALLZ下

添加xxx ALL=(ALL) ALL

 然后按esc键,再输入:wq!保存退出

#chmod u-w /etc/sudoers

问题解决!

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐