Linux下is not in the sudoers file解决方法

1.切换到root用户

2.在打开的配置文件中,找到root ALL=(ALL) ALL,在下面添加一行

xxx ALL=(ALL) ALL 其中xxx是你要加入的用户名称

原文地址:https://www.cnblogs.com/haxianhe/p/9271238.html