社区
系统维护与使用区
帖子详情
is not in the sudoers file. This incident will be reported.
PDG007
2014-12-10 07:57:19
rt.....
而且是新装系统,没有root。。。
所以别跟我说 登陆root用户,在sudoers里添加当前用户...
求大神指点.
...全文
449
3
打赏
收藏
is not in the sudoers file. This incident will be reported.
rt..... 而且是新装系统,没有root。。。 所以别跟我说 登陆root用户,在sudoers里添加当前用户... 求大神指点.
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
buyong
2014-12-17
打赏
举报
回复
新装系统应该至少有一个root
ljc007
2014-12-16
打赏
举报
回复
你安装的什么操作系统?
小笨和漂向北方
2014-12-10
打赏
举报
回复
what's the linux distro?
xxx is not in the
sudo
ers
file
解决方法
用
sudo
时提示"xxx is not in the
sudo
ers
file
. This inc
ide
nt
will be
report
ed
.其中XXX是你的用户名,也就是你的用户名没有权限使用
sudo
,我们只要修改一下/etc/
sudo
ers
文件就行了。
linux系统使用
sudo
命令报xxx is not in the
sudo
ers
file
.This inc
ide
nt
will be
report
ed
.的解决方法.docx
...
linux系统使用
sudo
命令报xxx is not in the
sudo
ers
file
.This inc
ide
nt
will be
report
ed
.的解决方法.pdf
培训学校入股合同.pdf
Linux给普通用户加超级用户权限的方法
问题假设用户名为:ali如果用户名没有超级用户权限,当输入
sudo
+ 命令 时, 系统提示: 代码如下:ali is not in the
sudo
ers
file
. This inc
ide
nt
will be
report
ed
.解决1. 进入超级用户模式。即输入”su”,系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。 2. 添加文件的写权限。 代码如下:chmod u+w /etc/
sudo
ers
3. 编辑/etc/
sudo
ers
文件。即输入命令”vim /etc/
sudo
ers
”,找到这一行:”root ALL=(ALL) ALL”在起下面添加”xxx ALL=(AL
解决linux下
sudo
更改文件权限报错xxxis not in the
sudo
ers
file
. This inc
ide
nt
will be
report
ed
.
本文转自Linux社区作者为z-sm的文章 原文链接http://www.linuxidc.com/Linux/2016-07/133066.htm Linux中普通用户用
sudo
执行命令时报”xxx is not in the
sudo
ers
file
.This inc
ide
nt
will be
report
ed
”错误,解决方法就是在/etc/
sudo
ers
文件里给该用户添加权限。如下:1.切换到
系统维护与使用区
19,612
社区成员
74,603
社区内容
发帖
与我相关
我的任务
系统维护与使用区
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
复制链接
扫一扫
分享
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章