ITeye博客

解决is not in the sudoers file问题

androider · 2011-06-09 20:49 · Ubuntu · 操作系统 · Markdown

解决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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。