Monday, June 2, 2014

How to fix "User is not in the sudoers file. This incident will be reported" error when sudo bash is executed?

Below are the steps to grant user to sudo rights when message "[USER] is not in the sudoers file. This incident will be reported" is prompted upon "sudo bash" command is entered

- Type in "visudo" command
- Navigate to the bottom of the file, edit the file with user name as "[USER] ALL=(ALL) ALL".
- Save the sudo file



No comments: