is not in the sudoers files的解决办法

首先:

whereis sudoers


一般是/etc/sudoers

su

vi sudoers


参照root的写法:

root                   ALL=(ALL:ALL)   ALL

quantum7       ALL=(ALL:ALL)   ALL


使用w!写。

退出。

猜你喜欢

转载自blog.csdn.net/quantum7/article/details/80050133