[Solved] not in the sudoers file. This incident will be reported.

Membahkan userbaru tapi malah tampil

“not in the sudoers file. This incident will be reported.”

error

Kudu buat 1 group

groupadd sudo
useradd -m -g users -G sudo,power,storage namauserbaru

buat deh passwordnya

sudo passwd namauserbaru

lalu edit di /etc/sudoers

lihat baris

%sudo ALL=(ALL)

Bagian itu di uncomment lalu save
coba deh jadi kok

Done.

Codernate Linux