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

less than 1 minute read

ketika mau mengakses sudo su muncul pesan “username is not in the sudoers file. This incident will be reported” maka ketik ini pada terminal

su
password:<<ketik passwd>>
echo 'username ALL=(ALL) ALL' >> /etc/sudoers

contoh:

su
password:<<ketik passwd>>
echo ‘ryuji ALL=(ALL) ALL’ >> /etc/sudoers

Updated: