Skip to main content

Administrator Permissions

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

Skip this step when using a Raspberry Pi.

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.  This command ensures we cannot break permissions on our computer.

Enter the command:

sudo visudo

Navigate to the "user privilege specification" section using the arrow keys on your keyboard.  Underneath this section, we will be adding our user account that we just created.  Change 'username' to the user name you selected. 

username    ALL=(ALL:ALL) ALL

Once you are completed, hit Ctrl-X to save and Enter to confirm.  Finally, we will hit Ctrl-O to quit visudo.

Your user account can now run commands using sudo. 

Now, we will allow applications to be run as Root using the graphical user interface.

xhost +SI:localuser:root


This needs to be run on each boot.