▷ How to fix User is not in the Sudoers file
Oh Snap!

Please turn off your ad blocking mode for viewing your site content

img

▷ How to fix User is not in the Sudoers file

/
/
/
402 Views

To solve User is not in the sudoers file. This incident will be reported  In a very simple way, when you run the sudo command or another command, you should do the following:

1. Run the command  whoami and your username will appear.

fix user is not in the sudoers file

2. Write the command Their, here enter the password of Super user when installing Linux > Also enter Nano or Vim whichever you prefer to use.

 

run command su fix user is not in the sudoers file

3. Enter the following path nano/ect/sudoers and a new window will appear in which you must write the user followed by ALL=(ALL:ALL) ALL

Enter user fix user is not in the sudoers file

4. Save the changes with CTRL+X.  Select YEAH to modify the changes and ENTER to save.

5. dating EXIT and run a new sudo command. You will see that it works.

Related links:

In five simple steps you can solve user is not in the sudoers file- This incident will be reported, an error that frequently appears when executing sudo on our system. In the following video you can see illustrated step by step to solve the error, you can find more related videos on our YouTube channel giving click here.
 

VIDEO: SOLVE USER IS NOT IN YHE SUDOERS FILE 

    This div height required for enabling the sticky sidebar
    en_USEN