ubuntu sudo权限错误的解决方法
2012-07-27 12:50
351 查看
最近自己Ubuntu里的账户出现sudo权限错误,使用sudo命令出现如下提示:
can’t open /etc/sudoers.d/README: 权限不够
可能是suoders.d文件权限设置错误导致sudo命令不能使用
重启, 按下shfit 进入recover mode 选择 root
如下设置:
reboot
即可
can’t open /etc/sudoers.d/README: 权限不够
可能是suoders.d文件权限设置错误导致sudo命令不能使用
重启, 按下shfit 进入recover mode 选择 root
如下设置:
chown -R root:root /etc/sudoers .d chmod u=rwx,g=rx,o=rx /etc/sudoers .d/ chmod u=r,g=r,o= /etc/sudoers .d/* |
即可
相关文章推荐
- Ubuntu使用sudo命令出现must be setuid root错误的解决方法
- Linux遇到的问题(一)Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- Ubuntu——"xxx is not in the sudoers file.This incident will be reported" 错误解决方法
- Ubuntu "sudo: unable to resolve host 主机名称"错误解决方法
- Ubuntu14.04 如何修改/etc/sudoers 和错误修改权限的解决办法
- ubuntu 使用sudo apt-get update 出现 被配置多次导致无法升级错误解决方法
- Ubuntu在执行sudo apt-get install ***出现E:Encountered a section with no Package header错误解决方法
- ubuntu下运行android emulator权限不够解决方法
- Ubuntu设置环境变量错误导致系统无法登录解决方法
- 烂泥:【解决】ubuntu提示ilanni不在sudoers文件中错误
- Ubuntu16.04安装ssd的错误及解决方法
- 权限问题导致Nginx 403 Forbidden错误的解决方法
- Ubuntu15.10 用户环境变量修改错误解决方法
- ubuntu 编译 Android 出现的若干错误及解决方法
- Ubuntu sudo报错command not found的解决方法
- 因修改/etc/sudoers权限导致sudo和su不能使用的解决方法
- Ubuntu mysql 的Access denied for user 'root'@'localhost' (using password: YES错误解决方法
- 修改了etc下面sudoers权限造成SUDO命令不能用解决方法
- Ubuntu安装WDCP遇到的无法便于错误解决方法