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 (

  • Thursday, 2. October 2014 - 6:12 Uhr

    Usually I don’t learn article on blogs, however
    I wish to say that this write-up very forced me
    to check out and do so! Your writing taste has
    been amazed me. Thanks, quite great post.
    comprar ebook baratos

  • Saturday, 11. October 2014 - 10:01 Uhr

    If you want to get a lot of donus, XP, coins and other resources in this game, use the Simpsons
    Tapped Out Cheats for it! You can also do that if you pay with your own real money, but it is not worth it to pay
    for just … a game!
    Our Simpsons Tapped Out cheats tool is 100% undetectable, because it connects directly to the
    servers and injects our code to the host, making it look like
    we’re sending game requests (packets) from your valid device amongst gamers
    when actually we’re injecting client mod information in order to trick the system.

    In addition, we spoof the host’s protocol, so that it does not resemble there was an association made
    from an external source. There’s not a slightest chance that
    you can get banned, so you can begin using your Simpsons Tapped Out
    cheats right this moment and start climbing the leaderboards

  • Friday, 14. November 2014 - 0:04 Uhr

    you are in reality a just right webmaster. The web site loading speed
    is amazing. It sort of feels that you are doing any distinctive trick.
    Moreover, The contents are masterwork. you’ve done
    a wonderful task on this topic!

Search terms for this article:

    • instalr debiankde pelo terminal comando launch
    • how to add a administrator in the sudo file in Debian 7 8
    • debian add a user to sudo
    • debian sudo make
    • raspbian user to wheel
    • cannot use sudo command in raspian
    • how to give root privileges debian kde
    • debian add sudo
    • raspbian create sudo user
    • debian set up administrator account
    • debian how do i get sudo rights?
    • add sudo to user debian
    • how to go to root in terminal in debian 7
    • debian make myself root user
    • how add user sudo wheezy debian
    • add user and user folder in debian
    • How to give a Linux user sudo access debian7
    • raspian root terminal
    • how to enable sudo password for an user
    • how to grant myself super user priviliges in raspbian
    • debian make admin group
    • sudo permission setup wheezy
    • linux debian admin account
    • kde make user root permisions
    • debian WHEEZY, add user sudo
    • superuser hinzufügen debian
    • wheezy adduser command not found
    • raspian sudo app-get update command not found
    • debian make sudoer user
    • how to enter root in debian wheezy
    • how to access root folder in raspian
    • how to give administrator priveleges to user on debian
    • access root in debian
    • debian sudo password
    • debian terminal admin
    • add user to root group debian
    • log in as adminastrator in rasbian
    • change user to admin group raspbian
    • add user to admin debian
    • raspbian give user sudo priviligies
    • adding user to sudo group debian
    • how do I add myself to the sudoers file in Debian kde?
    • debian add sudo to user
    • debian logout super user
    • how to have the sudo privilege in debian kde
    • debian 7 add user sudo
    • debian change administrator username
    • make myself a super user on debian 7
    • sudo file debian
    • sudo debian sudoers addgroup
    • why i cant how to open root terminal in debian it ask for password
    • set login root in kde debian6
    • give user sudo access debian
    • create su user in debian
    • debian adding sudo users
    • how to login as super user debian 7
    • debian sudoer
    • debian give user su permissions
    • cant acces root debian kde
    • bash add sudo privileges to a user account
    • debian run as user sudo
    • debian wheezy cant sudo
    • login raspian administrator
    • make user raspian
    • debian add user to administrators
    • debian give sudo permissions
    • debian sudoer group
    • sudo edit debian
    • allow user to install packages sudeor debain
    • debian make account sudoer
    • raspian admin user
    • creating another root account on debian
    • enable root debian
    • debian set sudo password
    • how do you make terminal not ask for password in debian
    • enabling su debian
    • sudoer debain
    • how to set a password on debian kde
    • bash: sudo: command not found KDE
    • how to create a root password in debian
    • debian grant superuser privileges
    • debian su - dont work
    • debian sudo user
    • useradd: unknown group `sudo
    • usermod: unknown group `sudo
    • how to add user to root group debian
    • how to install root terminal debian
    • display all users at login debian wheezy
    • add members sudo debian
    • setting up a superuser debian
    • debian how to add a user to the sudo list
    • debian make a user with su
    • how to give root permission in debian
    • wie adde ich einen sudo user?
    • debian sudo unknow command
    • debian cant login as sudo
    • debian add to sudoers not root
    • crunch bang linux sudo user
    • how to add sudo user in debian squeeze
    • debain sudo
    • debian make user sudoer
    • debian root
    • raspbian create user admin
    • add user to superuser in debian
    • debian allow user to sudo
    • what shuld be the sudo password in debian
    • how to allow ping to run without sudo
    • sudo debian
    • debain no sudo
    • debian wheezy su sudo
    • debian change user as root
    • debian give root rights to user
    • debian roor user permission
    • how to make root back to sudo
    • sudo actavated
    • switch user raspbian
    • sign in to raspbian as super user
    • debian add admin
    • activate sudo debian 7
    • add new user su debian
    • how to set sudoer in debian
    • debian sudo without password
    • how to sudo in debian
    • config sudo user debian 6
    • making su wheel group work in deebian
    • sudo add user debian
    • how to turn enable sudo debian 7 7 0
    • debian enable sudo no password
    • debian add user sudo group
    • how to add a user as an administrator in debian
    • raspbian sudouser what now
    • debian6 howto become root
    • how to install sudo
    • enable sudo for a user
    • debian user permissions
    • give user admin debian
    • debian fresh install cannot sudo
    • raspbian 2014-12-24 su password
    • add new admin user debian terminal
    • how to change to superuser in debian squeeze
    • debian create new user
    • become sudoer debian
    • add root user debian squezze
    • how to add user to sudoer list in debian
    • how to run a command with supersuser in debian
    • debian add user to sudo
    • debian add root password
    • superuser terminal debian
    • raspbian sudo
    • debian add user
    • debian permanently make user root
    • noway to access root (using GNUwheezy)?
    • how to enter into su-into-root (using GNUwheezy)?
    • sudo on debian
    • how to make a full access debian user
    • creating new superuser debian
    • sudo debian 6 to user
    • root privilege add to new user debian
    • debian kde set password for sudo
    • changing user to sudo debian
    • changing sudoers debian
    • debian 7 install sudo
    • debina linux sudo
    • debian create root user
    • sudo in debian linux
    • gain super user debian
    • how do i become a sudo in kde debian
    • give administrative to a user debian
    • debian create admin account
    • how do i make user admin debian
    • debian terminal adduser root
    • how to become adminstrator on debian linux
    • debian root vs sudo
    • how to change debian7 root pswd
    • debian login sudo
    • ajouter user group root debian
    • debian administrator account anlegen
    • debian permit a user to do sudo
    • sudo terminal command debian
    • cannot use su or sudo in debian
    • debian user account with root access
    • su to root debian
    • sudo raspian
    • make existing user member of sudoers
    • debian assign user as superuser
    • does debian use the sudo command
    • change user to administrator group in debian
    • debian sudo set permissions
    • add a user in debian
    • debian 6 sudo path
    • How to create a new user on debian wheezy terminal command
    • how to add a new admin user in crunchbang
    • debian make su
    • wheezy gnome enable root login
    • add root user debian
    • make a user sudoer in debian
    • debian su
    • enable sudo account
    • root terminal debian 7
    • debian add to sudo

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

Tag Cloud