Debian 8 sudo

sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for “superuser do” as the older versions of sudo were designed to run commands only as the superuser. However, the later versions added support for running commands not only as the superuser but also as other (restricted) users, and thus it is also commonly expanded as “substitute user do”. Although the latter case reflects its current functionality more accurately, sudo is still often called “superuser do” since it is so often used for administrative tasks. – wikipedia

Open a terminal

Switch to root


Install sudo

apt-get install sudo

Add user to the sudo group

adduser myusername sudo

Add user to /etc/sudoers file

nano /etc/sudoers

Look for the line %sudo ALL=(ALL:ALL) ALL
Below that line type in the following

myusername ALL=(ALL:ALL) ALL

Save and exit

Switch to your account

Categories: Debian Tags: , , ,
%d bloggers like this: