Username is not in the sudoers file this incident will be reported

Published on

Username is not in the sudoers file this incident will be reported, it is a common error message when a non sudo user tried to make some sudo command.

To fix this you need to grant the user sudo privilage.

Linux

Follow the below steps to add user to sudoers file easily.

First switch to root user.

su -

Add user to sudoers file.

usermod -a -G sudo username

Now try to execute sudo commands from your username.

Published in: .

Leave a Reply

Your email address will not be published. Required fields are marked *