smking is not in the sudoers file. This incident will be reported.
来源:互联网 发布:手机损坏检测软件 编辑:程序博客网 时间:2024/06/07 19:10
smking最开始没有赋予root权限,所以在smking用户下很多操作都提示permission denied
解决办法:
1、首先进入root用户下
输入su,提示输入密码
出现#,表示已经得到root权限
2、为sudoers文件添加写权限
chmod u+w /etc/sudoers
3、编辑sudoers文件
vi /etc/sudoers
找到 root ALL=(ALL) ALL,
在他下面添加smking ALL=(ALL) ALL
阅读全文
0 0
- smking is not in the sudoers file. This incident will be reported.
- Fix the problem:xxx is not in the sudoers file.This incident will be reported
- xxx is not in the sudoers file. This incident will be reported (解决办法)
- 解决is not in the sudoers file. This incident will be reported
- xxx is not in the sudoers file. This incident will be reported的解决方法
- *** is not in the sudoers file.This incident will be reported
- XXX is not in the sudoers file. This incident will be reported.
- is not in the sudoers file. This incident will be reported
- sodu时提示:XXX is not in the sudoers file. This incident will be reported
- xxx is not in the sudoers file. This incident will be reported的错误解决方案
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- 某某 is not in the sudoers file. This incident will be reported.”
- user is not in the sudoers file. This incident will be reported 解决方法
- 使用用sudo时提示"### is not in the sudoers file. This incident will be reported.
- is not in the sudoers file. This incident will be reported
- is not in the sudoers file. This incident will be reported.
- sudo提示“is not in the sudoers file. This incident will be reported”解决方法
- centos 修改xxx is not in the sudoers file. This incident will be reported
- 暑假总结(一)
- hdu 1506 Largest Rectangle in a Histogram
- 希尔排序(shell sort)
- If()语句 和 switch()语句 的 比较
- 暑假总结(二)
- smking is not in the sudoers file. This incident will be reported.
- 暑假总结(三)
- poj 3617 Best Cow Line
- 【自言自语】开发语言六重境界
- bzoj1436 小K的农场(差分约束+spfa判环)
- RPG黑暗之光Part3:角色控制
- If-else 语句 和 三元运算符
- 郑州集训day2下午:搜索基础
- fatal error LNK1104: 无法打开文件“opencv_core2413.dll”