Debian 6 – HowTo enable sudo on your user account on Debian 6 (Squeeze)

Debian logoHello, 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?

You will need the root password for this set of commands.


Login to a user account.


Open a terminal window and type this into your window:

su root
adduser YOURUSERNAME sudo


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.

Related Posts:

Write a Comment


XHTML: You can use the following Tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Comment Text


  • Thursday, 12. July 2012 - 12:05 Uhr

    I’m an absolute beginner @linux, and this is absolutely what I needed :) thx!

  • Friday, 3. August 2012 - 19:41 Uhr

    “because sudo isn’t automatically added to your user account on a fresh Debian 6 install”

    That’s for a reason. sudo has its uses but this kind of use (read: abuse) isn’t one of them.

  • Tuesday, 16. October 2012 - 4:22 Uhr

    When i try it it says “bash: SU: command not found” I am a completly newcomer into this linux world

  • Saturday, 23. February 2013 - 23:02 Uhr

    Thanks. Especially for Step3 ;-)
    BTW: exit and re-login works also.

  • Wednesday, 20. March 2013 - 16:22 Uhr

    you can just logout and log back in, you dont need to reboot.

  • Saturday, 13. April 2013 - 22:56 Uhr

    Thanks! Just what I was looking for as ecryptfs doesn’t let me encrypt the home dir of my “regular” sudoer as she is still logged in of course :)

  • Thursday, 16. May 2013 - 17:25 Uhr

    Big Thanks! lack of sudo was frustrating to say the least. :)


  • Friday, 24. May 2013 - 20:47 Uhr

    That was helpful for a linux noob like me. Thanks!

  • Monday, 15. July 2013 - 10:48 Uhr

    Do not work on Debian 7… and do you know why?

  • Friday, 19. July 2013 - 7:40 Uhr

    For anyone having trouble after adding the user simply type:

    apt-get install sudo

    Have fun!

  • Saturday, 7. September 2013 - 15:10 Uhr

    thank you very much

  • Sunday, 29. September 2013 - 16:33 Uhr

    [...] Pathin, [...]

  • Thursday, 24. October 2013 - 16:52 Uhr

    [...] Pathin, [...]

  • Friday, 8. November 2013 - 10:55 Uhr

    “adduser YOURUSERNAME sudo”
    you should use
    “su YOURUSERNAME ” else you will continue to use the terminal as root

  • Monday, 10. March 2014 - 0:34 Uhr

    What’s up friends, its wonderful piece of writing about tutoringand entirely explained, keep it up all the time.

  • Friday, 14. March 2014 - 0:37 Uhr

    Thankyou for all your efforts that you have put in this.
    very interesting info . “There are some defeats more triumphant than victories.” by Michel Eyquem de Montaigne.

  • Tuesday, 18. March 2014 - 20:29 Uhr

    it’s first i did .. good job

    i hope more about debian ..

    thank you

  • Saturday, 29. March 2014 - 7:42 Uhr

    Hello, i feel that i noticed you visited my site thus i got here to “return the favor”.I am attempting to in finding
    things to improve my website!I guess its good enough
    to use a few of your concepts!!

Search terms for this article:

    • username not on the sudoers list debian
    • kde add user to sudoer
    • how to allow sudo in debian
    • how do I enable sudo
    • debian kde user account
    • debianj add user sudo
    • login as sudo debian
    • add account to sudoers debain
    • debian root permissions
    • debian install sudo squeeze
    • I cant add user in my debian whatll i do?
    • change grant debian
    • sudoers in debian weezy
    • add users to root debian
    • yhs-fh_lsonsw
    • debian add a user
    • debian sudo zu
    • debian how to change user
    • algo-twcrecommends_if2
    • give account sudo access
    • sudoer user
    • debian give myself sudo
    • create sudoer debian
    • how to add root privileges to user on debian 7
    • debian 7 kde root privileges
    • yhs-benefind
    • debian make user super
    • admin rights debian
    • debain change user type to aaadminisstrator
    • как получить sudo в debian
    • debian create sudoers
    • command debian 6
    • debian adduser sudo is not working
    • install probind
    • adduser command not found wheezy
    • linux user cannot sudo
    • debian kde sudo
    • debian add myself to sudoers
    • how to enable root in debian
    • how to enable sudo for user in debian
    • rasbian user rights
    • debian kde creer admin
    • debian6 user als sudoers
    • how do i grant myself sudo permissions in ubuntu
    • installare sudo debian
    • how to add user as a sudo debian
    • add user sudoers denian
    • add user sudo in wheezy
    • debian add user sudo
    • debian sudo commande introuvable
    • debian benutzer sudo
    • debian su users
    • change sudo user in debian
    • debian change user privilege
    • how to create user account linux debian kde
    • how to be a sudoers debian
    • sudo debian user not alowed
    • access root in raspian
    • debia sudo
    • configurare sudo debian
    • как добавить sudouser в Debian 7
    • как добавить sudo в DEbian 7
    • debian user not sudoers
    • add sudo to a user debian 6
    • wheezy user cannot access root
    • debian tutorial
    • debian administrator terminal installer
    • how to enable sudo on debian wheezy
    • sudoer list Debian 7
    • sudo raspbian
    • how to add sudo to user debian
    • how to give su privilegies debian 7 0
    • how to make a user root debian
    • debian 7 clean add user to admin group
    • activate sudo group
    • linux make user a sudoer
    • get root access on debian
    • debian wheezy user account disabled
    • add user to group debian wheezy
    • debian kde sudoer
    • debian user als admin hinzufügen
    • asign user administrator prviliages debian
    • how to enable sudo in deban
    • how to set user on sudoer list
    • add user to superusers debian 7
    • debian add root user
    • how to give sudo access debian
    • wheezy sudo account
    • how to add a new user on raspian wheezy
    • debian add user too root
    • grant root access debian
    • change user for root privileges in Debian
    • Debian make user sudo
    • making a user in debian
    • debian root access
    • debian terminal root kde
    • super user in debian 6
    • adding user sudoers debian
    • debian enable root
    • sudo configuration debian
    • sudo debian path
    • add sudo right to user debian
    • mss
    • add user to sudo debian
    • not in sudoers debian 7 1
    • debian set sudo
    • how to give user sudo access debian
    • debian wheezy kde how to enable sudo
    • debian how to add user to sudoer
    • raspbian root account bash
    • debian using sudo
    • how to change permissions of root with terninal debian
    • adduser admin grants debian
    • how to add user to sudoers in debian wheezy
    • wheezy create user
    • debian grant access to sudo
    • debian allow root user
    • how to add user to sudoers debian wheezy
    • debian wheezy kde root terminal
    • grant sudo in debian terminal
    • how to add usen sudo debian
    • add user to sudoer list debian
    • debian permit user right
    • kde add user to sudoers debian
    • login with administrative access debian linux
    • adding sudo to debian 7
    • root privillege debian
    • how to give sudo permissions to a user
    • kde add user to seudoers
    • addin user to the sudoers group debian 6
    • su sudo command not found path
    • turn user to root group kde
    • how to create sudo user account in debian
    • super utilisateur debian
    • debian wheezy commands
    • acces root superuser debian
    • debian setting up sudo
    • debian adduser installieren
    • skapa sudo debian
    • debian sudouser
    • sudo not enabled
    • have root access in debian
    • cant install program debian 7
    • how to add my user to sudo in debian
    • linux debian 7 1 enable sudo
    • give root permissions to user sudo debian
    • debian add user to root previleges
    • debian how to add user to sudoers list?
    • add user in sudoers deboian
    • add user to sudo adduser command not found
    • cannot sudo in debian wheezy
    • make user sudo debian
    • debian work with sudo
    • how to install activate sudo command in linux
    • root permission debian wheezy
    • super user debian terminal
    • add user to sudoers folder debian wheezy
    • add user to sudoers folder debian
    • put yourself in sudoers folder debian
    • how to access root in debian
    • open terminal as sudo debian
    • how to make debian user a sudoer
    • debian user can have root
    • adding usser to debian
    • creating accounts in wheezy
    • debian sudo root password
    • debian user terminal sudo
    • adding a user ti sudo
    • debian add sudo permission
    • debian difference sudo and admin
    • debian sudo permissions
    • debian giving root password instead of user for sudo
    • how to add user to sudo on mepis linux
    • add to sudoers user debian
    • make myself a sudo user on debian
    • add to sudo group kde
    • debian7 sudo
    • debian linux instal sudo user
    • running sudo in debian
    • how to make my account be a sudo user
    • Raspian Wheezy root rights
    • using sudo on debian
    • red hat linux 4 kde add sudoers
    • debian wheezy dont set root password to sudo
    • setting user as administrator debian
    • how to add a user to the sudo folder debian
    • get my sudo user
    • how to use root account in debian
    • debian administrative rights
    • sudo user bash
    • adding a user linux debian
    • adding a user to admin group debian
    • linux debian 6 sudoers
    • debian give root access to the user
    • allow sudo user in debian 7
    • how to become a sudoer in debian
    • debian 7 execute as root
    • add sudo rights to debian user
    • wheezy kde root login
    • add user to a group in debian 7

Welcome to
Thanks for looking by.
Please feel free to discuss with us by writing comments.

Tag Cloud