2018年7月11日

摘要: 最近在学习linux,在某个用户(xxx)下使用sudo的时候,提示以下错误:xxx is not in the sudoers file. This incident will be reported。百度了下,究其原因是用户没有加入到sudo的配置文件里。 解决方法如下: 1、切换到root用户,运行visudo命令 2、找到root ALL=(ALL) ALL,在下面添加... 阅读全文
posted @ 2018-07-11 08:38 刘应杰 阅读(258) 评论(0) 推荐(0) 编辑

导航