is not in the sudoers files的解决办法

129 阅读1分钟

首先:

whereis sudoers

 

一般是/etc/sudoers

su

vi sudoers

 

参照root的写法:

root                   ALL=(ALL:ALL)   ALL

quantum7       ALL=(ALL:ALL)   ALL

 

使用w!写。

退出。