Jump to content

Debian: Fix for Username Is Not in the Sudoers File

From Wiki

contoh error

sudo ls
[sudo] password for francis: 
francis is not in the sudoers file.  This incident will be reported.

fix error

su root
Password: 
vim /etc/sudoers
# User privilege specification
root	ALL=(ALL:ALL) ALL
francis  ALL=(ALL:ALL) ALL

Source