2016年5月30日 星期一

User is not in the sudoers file. This incident will be reported.


問題:$sudo su 出現錯誤.
$ sudo su 

錯誤訊息:
frank is not in the sudoers file.  This incident will be reported.


解決:編輯 /etc/sudoers; 將下列敘述加入檔案中.
frank   ALL=(ALL:ALL) ALL



以上!