秋逸

首先切换到root用户,然后执行:

usermod -G sudo xxx

xxx 是需要加入sudoer的用户名

解决xxx is not in the sudoers file
: 杨秋逸
https://yangqiuyi.com/blog/linux/解决xxx-is-not-in-the-sudoers-file/