您的位置:首页 > 其它

解决is not in the sudoers file问题

2011-11-09 13:43 597 查看
解决xxx is not in the sudoers file. This incident will be reported的错误:

原因:linux默认没有开启sudo权限

解决方法:

#su -

#chmod u+w /etc/sudoers

#visudo

在root ALL=(ALL) ALLZ下 添加xxx ALL=(ALL) ALL

#chmod u-w /etc/sudoers

转自:http://androider.iteye.com/blog/1074597
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: