无法使用sudo命令
2014-03-28 11:49
176 查看
原因:wan is not in the sudoers file. This incident will be reported.
方法:su -
echo 'username ALL=(ALL) ALL' >> /etc/sudoers
username为你的用户名
这样会被追加到 /etc/sudoers文件的末尾
wan ALL=(ALL) ALL
方法:su -
echo 'username ALL=(ALL) ALL' >> /etc/sudoers
username为你的用户名
这样会被追加到 /etc/sudoers文件的末尾
wan ALL=(ALL) ALL
相关文章推荐
- linux下因修改/etc/sudoers 从而导致sudo命令无法使用
- 在Ubuntu终端中使用安装命令Sudo apt-get install xxx时时出现E: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)的错误解决方案
- java在linux系统下开机启动无法使用sudo命令的原因及解决办法
- 亚马逊ec2服务器上无法使用sudo执行npm命令的解决办法
- sudo 命令无法使用
- linux 下普通用户无法使用sudo命令的解决方法
- 解决Linux下无法使用sudo命令问题
- linux下因修改/etc/sudoers 从而导致sudo命令无法使用
- java在linux系统下开机启动无法使用sudo命令的原因
- java在linux系统下开机启动无法使用sudo命令的原因
- 普通无法使用sudo命令
- java在linux系统下开机启动无法使用sudo命令的原因
- linux 下普通用户无法使用sudo命令的解决方法
- linux 下普通用户无法使用sudo命令的解决方法
- JDK配置完系统命令无法使用
- CentOS6.6普通用户使用sudo命令借用root用户权限
- ubuntu普通用户无法使用usdo命令
- Linux操作系统下Sudo命令的使用方法说明
- sudo命令的使用说明
- Linux系统Sudo命令的使用说明