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

  • 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

  • Wednesday, 25. June 2014 - 0:30 Uhr

    If some one wishes expert view on the topic of blogging after that i advise him/her to pay
    a quick visit this blog, Keep up the pleasant work.

  • Friday, 18. July 2014 - 16:36 Uhr

    I am regular reader, how are you everybody? This
    post posted at this site is truly pleasant.

    Here is my site: – Carrie,

  • Thursday, 31. July 2014 - 20:12 Uhr

    You are awesome! I searched 20 minutes to find something useful – and you made it!
    Kudos to you, bro! :)

  • Tuesday, 5. August 2014 - 23:53 Uhr

    Thanks in favor of sharing such a pleasant thought, post is fastidious, thats why i have read it fully

  • Thursday, 21. August 2014 - 22:50 Uhr

    It’s an remarkable post in support of all the online users;
    they will get advantage from it I am sure.

    My page: gain a younger look

  • Friday, 29. August 2014 - 8:10 Uhr

    Please let me know if you’re looking for a article writer for
    your site. You have some really great articles and I
    think I would be a good asset. If you ever want to take some of
    the load off, I’d love to write some articles for your blog in exchange for a link
    back to mine. Please send me an email if interested.


    For an incredible detailed explanation please check-out this page – post
    workout formula (

Search terms for this article:

    • root terminal debian wheezy
    • debian allow sudo
    • debian change to sudo
    • ubuntu enable apt-get sudo user account
    • debian windows user account
    • how to use su in debian
    • debian user logo
    • debian how to make my user a sudo user
    • enable sudo debian wheezy
    • sudo debian 7
    • debian 6 sudo su
    • debian how to make a super user in terminal
    • debian how to make a super user in terminal
    • how to enable sudo for users
    • debian administrator sudo
    • add user als sudo
    • debian su doesnt work with root
    • linux change sudo users
    • adding user to sudoers group debian
    • debian set su password
    • root terminal wheezy
    • grant user sudo right
    • change user priveleges on debian
    • debian cannot execute sudo
    • debian sudo access
    • debian linux sudo
    • allow user to su to another account with sudo
    • debian run as su
    • how to enable sudo for user
    • debian add user sudo
    • super user privilege terminal debian
    • give sudo rights to debian user
    • debian6 sudoer
    • linux enable sudo for user
    • sudo debian wheezy config
    • debian user sudo
    • enable sudo on user
    • how to get superuser permission in raspbian
    • debian no sudo
    • comand debian add user group sudoers
    • debian create user with sudo
    • how to set permission in debian
    • raspian permissions
    • give current user temp root permissions wheezy
    • how to give current user root permission in wheezy
    • how to add sudo suer in debian
    • debian sudo no access
    • how to add users in debian wheezy
    • debian make super user
    • make myself super user on debian
    • how to get root permission debian
    • debian user full authority
    • add sudo to path
    • linux allow sudouser chown [a-aA-Z]
    • sudo debian
    • how to change to administrator in debian
    • login as admin in debian sudo
    • debian set user as sudoer
    • Debian Wheezy KDE modifier profil User in Admin
    • add user to sudoers group debian
    • how do i give my user sudo access debian linux
    • debain give sudo
    • debian sudo group
    • debain sudo im terminal
    • how to sudo on debian 2 6
    • adduser: unknown group sudo
    • user with sudo privilege cannot isntall software
    • debian user als su aufnehmen
    • make sudo password for root debian
    • sudo linux debian PASSWORD
    • how to make user a sudoer in debian
    • login as root in wheezy terminal
    • debian linux sudo user
    • cannot go sudo debian
    • devian linux privileges
    • how to add user into sudoers debian
    • sudo enable
    • raspbian user accounts
    • how to become sudo user in debian
    • how do I make sudo for windows users
    • root access in debian?
    • linux grant a user sudo rights to an application debian
    • yhs-zugo
    • debian become sudoer
    • sudo autoinstall debian
    • make user root raspbian
    • debian wheezy sudo
    • Debian Add User to Root
    • how to allow permissions in raspbian
    • debian no terminal
    • debian sudo configuration
    • adding user to root debian
    • debian user sudoer
    • enabling root account in Debian
    • yhs-fullyhosted_003
    • debian add admin group
    • debian make user a sudoer
    • kde sudoer
    • change user to sudoer in debian
    • debian giving user sudo right
    • debian install sudo user
    • debian benutzer su
    • dd user to sudo debian wheezy
    • debian how to sudo to root
    • debian doesnt know sudo
    • how to add sudo permission in debian
    • gain sudo debain
    • raspian sudo root
    • super privileges debian
    • give sudo access to an account on debian
    • activer sudo debian wheezy
    • debian allow to run sudo command as another user
    • debian allow sudo -u account
    • debian sudo
    • debian command for sudo
    • allowing kde root logins on debian 7 4 wheezy
    • 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

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

Tag Cloud