原文:Linux_服务器_03_xxx is not in the sudoers file.This incident will be reported.的解决方法

.切换到root用户下,怎么切换就不用说了吧,不会的自己百度去. .添加sudo文件的写权限,命令是:chmod u w etc sudoers .编辑sudoers文件vi etc sudoers找到这行 root ALL ALL ALL,在他下面添加xxx ALL ALL ALL 这里的xxx是你的用户名 ps:这里说下你可以sudoers添加下面四行中任意一条youuser ALL ALL ...

2017-12-05 20:53 0 1184 推荐指数:

查看详情

Linux中“is not in the sudoers file解决方法

当在终端执行sudo命令时,系统提示“kongbursi is not in the sudoers file”: 其实就是没有权限进行sudo,解决方法如下(用户名是kongbursi): ...

Mon May 31 05:51:00 CST 2021 0 323
Linux中“is not in the sudoers file解决方法

当在终端执行sudo命令时,系统提示“hadoop is not in the sudoers file”: 其实就是没有权限进行sudo,解决方法如下(这里假设用户名是cuser): 1.切换到超级用户:$ su 2.打开/etc/sudoers文件:$vim /etc/sudoers ...

Mon Feb 26 23:54:00 CST 2018 0 29299
Linux下is not in the sudoers file解决方法

最近在学习linux,在某个用户(xxx)下使用sudo的时候,提示以下错误:xxx is not in the sudoers file. This incident will be reported。 百度了下,究其原因是用户没有加入到sudo的配置文件里。 解决方法 ...

Mon Jan 09 17:29:00 CST 2017 0 25345
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM