原文:linux遇到xxx is not in the sudoers file.This incident will be reported的问题

Linux中普通用户用sudo执行命令时报 xxx is not in the sudoers file.This incident will be reported 错误,解决方法就是在 etc sudoers文件里给该用户添加权限。 如下: .切换到root用户下方法为直接在命令行输入:su,然后输入密码 即你的登录密码,且密码默认不可见 。 . etc sudoers文件默认是只读的,对ro ...

2020-03-02 14:36 1 5122 推荐指数:

查看详情

linux解决“XXX is not in the sudoers file”错误

问题:我想在我的Linux系统上使用sudo来运行一些特权命令,然而当我试图这么做时,我却得到了"[我的用户名] is not in the sudoers file. This incident will be reported."的错误信息。我该怎么处理这种sudo错误呢? sudo是一个 ...

Wed Mar 28 04:26:00 CST 2018 0 3543
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
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM