您的位置:首页 > 其它

无法使用sudo命令

2014-03-28 11:49 176 查看
原因:wan is not in the sudoers file. This incident will be reported.

方法:su -
echo 'username ALL=(ALL) ALL' >> /etc/sudoers
username为你的用户名

这样会被追加到 /etc/sudoers文件的末尾
  wan ALL=(ALL) ALL
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: