Ubuntu Solving Sudo Error “is not in the sudoers file”

February 15th, 2015 by thelinuxevangelist

Adding User to sudoers Group



The Linux Troubleshooting Show How-to Add an User to the Sudoers Group on Ubuntu GNU/Linux Based Systems.

This correspond to Solve “User is Not in the Sudoers File” Issue!

Solve user is not in the sudoers file on Ubuntu Linux - Featured
  1. Try Again to Get SuperUser Powers

    sudo su

    Else Try to Switch to Another User with SuperUser/Admin Privileges!

    su [myUserSuper]

    If You do Not Dispose of any SuperUser then Look:

    Create a First SuperUser Guide
  2. Edit the sudoers File

    sudo visudo


  3. Enabling sudo for User

    After:

    root ALL=(ALL:ALL) ALL

    Append:

    [myUser]	 ALL=(ALL:ALL) ALL

    Ctrl+x to Save & Exit.

Share on Tumblr

Tags: , , , , , , , , , , , ,


Comments are disabled