oracle is not in the sudoers file.This incident will be reported
来源:互联网 发布:淘宝steam游戏安全吗 编辑:程序博客网 时间:2024/05/16 01:14
分类:
版权声明:本文为博主原创文章,未经博主允许不得转载。
解决方法如下:
1>、进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。
2>、添加文件的写权限。也就是输入命令"chmod u+w /etc/sudoers"。
3>、编辑/etc/sudoers文件。也就是输入命令"vim /etc/sudoers",输入"i"进入编辑模式,
找到这一行:"root ALL=(ALL) ALL"在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是你的用户名),然后保存(就是先摁一下Esc键,然后输入":wq")退出。
4>、撤销文件的写权限。也就是输入命令"chmod u-w /etc/sudoers"。
至此,问题解决。
1>、进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级用户模式。
2>、添加文件的写权限。也就是输入命令"chmod u+w /etc/sudoers"。
3>、编辑/etc/sudoers文件。也就是输入命令"vim /etc/sudoers",输入"i"进入编辑模式,
找到这一行:"root ALL=(ALL) ALL"在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是你的用户名),然后保存(就是先摁一下Esc键,然后输入":wq")退出。
4>、撤销文件的写权限。也就是输入命令"chmod u-w /etc/sudoers"。
至此,问题解决。
[oracle@dev ]$su root口令:[root@dev ]#chmod u+w /etc/sudoers[root@dev ]#vim /etc/sudoers[root@dev ]#chmod u-w /etc/sudoers[root@dev ]#su oracle
0 0
- sudo 提示oracle is not in the sudoers file. This incident will be reported的解决方法
- "sudo su -", oracle is not in the sudoers file. This incident will be reported.
- oracle is not in the sudoers file.This incident will be reported的解决
- oracle is not in the sudoers file.This incident will be reported
- oracle is not in the sudoers file.This incident will be reported
- oracle is not in the sudoers file.This incident will be reported的解决
- oracle 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.”
- .NET Framework 各个版本之间的关系以及下载地址整理汇总
- 修改MyEclipse中Jsp中JavaScript背景色
- java基础之RandomAccessFile类的使用
- 简单的Ajax 技术
- Spring中,在继承JdbcDaoSupport时,出现The type org.springframework.dao.support.DaoSupport cannot be resolved.
- oracle is not in the sudoers file.This incident will be reported
- iOS切换window根控制器
- Android 对回调的理解
- MapReduce编程实例之倒排索引 1
- HTML5的WebSocket
- html select下拉菜单 从数据库中读取 ajax
- hdu 1710 Binary Tree Traversals
- 数组的基本操作(一)
- Spring MVC防御CSRF、XSS和SQL注入攻击