Ubuntu下xxx is not in sudoers file的一个解决方案
来源:互联网 发布:网络分层及其对应协议 编辑:程序博客网 时间:2024/06/02 06:15
需要新创建一个用户spfs,在执行sudo命令时,系统提示
查了一下资料,结合自己的实际情况解决了这个问题。
原来是用户名spfs没有在/etc/sudoers文件中注册。进入/etc中发现sudoers文件是个root用户只读的文件。
su -切换成root用户,为文件添加写权限,在sudoers中的root用户名下面添加如下内容:
保存之后,退出。在spfs中执行sudo命令,提示:
按照提示,用root修改文件的权限掩码,成功为spfs添加sudo权限。
感谢:http://www.linuxidc.com/Linux/2010-12/30386.htm
- Ubuntu下xxx is not in sudoers file的一个解决方案
- ubuntu下is not in the sudoers file 解决方案
- linux下遇到xxx is not in the sudoers file
- xxx is not in the sudoers file. This incident will be reported的错误解决方案
- XXX is not in the sudoers file 解决方案:赋予linux普通用户挂载光驱的权限
- xxx is not in the sudoers file. This incident will be reported.的解决方案
- xxx is not in the sudoers file
- xxx is not in the sudoers file
- xxx is not in the sudoers file.
- xxx is not in the sudoers file
- Ubuntu下is not in the sudoers file 问题解决
- is not in the sudoers file 解决方案
- xx is not in the sudoers file 问题的解决方案
- xx is not in the sudoers file问题的解决方案
- ubuntu is not in the sudoers file
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- UBuntu中出现xxx is not in the sudoers file解决方法
- Ubuntu技巧之"xxx is not in the sudoers file"解决方法
- struts2配置文件
- ubuntu12.04 安装 uWsgi
- 关于虚函数的那些事
- ALM/QC 11.5,11,10 安装环境的硬件要求和软件要求
- 杭电OJ题 1678 Shopaholic 解题报告
- Ubuntu下xxx is not in sudoers file的一个解决方案
- struts2数据校验
- Jexus web server V5.2 正式发布
- Apache与PHP版本选择
- RPM包rpmbuild SPEC文件深度说明
- [H1B/H4] H1B, H4 分别面签成功(广州)分享帖
- 制作RPM包
- 杭电OJ题 1701 ACMer 解题报告
- Oracle