is not in the sudoers file. This incident will be reported.

当咱们使用sudo命令切换用户的时候可能会遇到提Ubuntu下普通用户用sudo执行命令时报”xxx is not in the sudoers file.This incident will be reported”错误,解决方法就是在/etc/sudoers文件里给该用户添加权限。linux 以下: 1. 切换到root用户下。 2. /etc/sudoers文件默认是只读的,对root来讲也
相关文章
相关标签/搜索