How to solved ‘user’ is not in the sudoers file. This incident will be reported.

Mungkin ini masalah yang sering muncul ketika baru pertama kali nginstall (buat ane sih). Ketika mau ketikkin command ‘sudo bla bla…’ selalu muncul pesan : ‘user’ is not in the sudoers file. This incident will be reported.

Tapi karena suka lupa, akhirnya google-ing. Tapi kali mudah saya #catet di blog biar lupa-nya sedikit berkurang #hehe

Cara-nya, masuk sebagai root terlebih dahulu. Kemudian ketik command :

echo ‘YourName ALL=(ALL) ALL’ >> /etc/sudoers

Enter and you can do anything you like.😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s