root用户下:vim /etc/sudoers
在Allows people in group wheel to run all commands下加入自己的权限:
<username> ALL=(ALL) ALL
强制保存退出wq!
【Linux学习笔记】解决who is not in the sudoers file.This incident will be reported.
最新推荐文章于 2023-11-07 15:06:17 发布
root用户下:vim /etc/sudoers
在Allows people in group wheel to run all commands下加入自己的权限:
<username> ALL=(ALL) ALL
强制保存退出wq!