Hello, in this short tutorial I want to show you, how you can run programs with root rights on your freshly generated user account, by adding the sudo command to user accounts.
What is sudo?
sudo – short for “substitute user do” – is a command which allows users to run commands with other user’s rights (e.g. root).
How to enable sudo for my user account on Debian 6?
Note:
You will need the root password for this set of commands.
Step1:
Login to a user account.
Step2:
Open a terminal window and type this into your window:
su root adduser YOURUSERNAME sudo
Step3:
Now reboot, and on your next session you will be allowed to run every program or command, which doesnt belong to you, or you don’t have the rights for with:
sudo COMMAND
I hope this helps some of you, because sudo isn’t automatically added to your user account on a fresh Debian 6 install.
Written on 13.01.2012
Category: Debian, Linux, Tutorials.
Tags: debian, linux, tutorial.
