ubuntu下普通用户没有sudo权限的解决办法

ubuntu下普通用户没有sudo权限 出现XXX is not in the sudoers file. This incident will be reported.提示,说明该XXX用户没有sudo权限 缘由是用户没有加入到sudo的配置文件(/etc/sudoers)里 解决办法: 一、su - root 二、chmod u+w /etc/sudoers 三、vim /etc/sudoer
相关文章
相关标签/搜索