帮助中心 >  技术知识库 >  云服务器 >  服务器教程 >  使用sodu时提示 “username not in the sudoers file”

使用sodu时提示 “username not in the sudoers file”

2016-06-19 06:12:17 7319

问题描述:使用sodu时提示 “username not in the sudoers file”

解决方法:

1.su - root切换到超级用户下

2.编辑/etc/sudoers 文件

3.在root ALL=(ALL) ALL 行后面追加 username  ALL=(ALL) ALL 保存退出即可。


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: