Skip to main content

Adding User to Sudoers

On Debian, our user account cannot run commands as Root through the terminal.  We will be changing this for simplicity sake.

We need to open the Terminal application from the system section of the start menu. By default, we need temporarily "switch users" to root.

Enter the command:

su root

We will need to enter the password we chose for our root account during the installation process.

When you are typing a password through the terminal, it will not display that you have typed any characters.

Now that we are acting as the root account, we can configure our user account to have the permissions to run all the same commands.

Enter the command:

sudo visudo

UnderNavigate to the "user privilege specificationspecification" (usessection tabsusing notthe spaces)arrow keys on your keyboard. 

 

metaphorraccoon    ALL=(ALL:ALL) ALL

(uses tabs not spaces)

Ctrl-X, Enter, Ctrl-O