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!

  • Saturday, 9. May 2015 - 13:23 Uhr

    Hello very nice blog!! Guy .. Beautiful ..
    Amazing .. I’ll bookmark your website and take the feeds additionally?

    I’m happy to seek out numerous helpful information here within the put up, we need develop extra techniques in this regard, thanks for sharing.
    . . . . .

  • Wednesday, 24. June 2015 - 14:48 Uhr

    Yes! Finally someone writes about togel singapura 2015.

  • Tuesday, 28. July 2015 - 19:49 Uhr

    Very energetic post, I liked that bit. Will
    theere be a prt 2?

  • Friday, 31. July 2015 - 15:37 Uhr

    Howdy fantastic website! Does running a blog such as this require
    a massive amount work? I have virtually no knowledge of
    computer progdamming but I had been hoping to start my own boog soon. Anyway, if you have any suggestions or techniques
    for new blog owwners please share. I unjderstand this is off
    subject howver I simply had tto ask. Many thanks!

  • Saturday, 3. October 2015 - 15:21 Uhr

    It’s remarkabloe to go to see this website annd reading the views of aall colleagues concerning this post, while I am
    also keen of gettjng familiarity.

    My blog – togel singapur

Search terms for this article:

    • add root password to debian
    • sudo disabled init d for user
    • make user sudo on debian
    • linux bypass root permission
    • set user and password for new root user in debian wheezy
    • debian root sudo
    • debian sudo not work
    • cannot locate sudo debian
    • jessie enable sudo
    • debian how to run everything as sudo
    • how to enable setting of user account in debian
    • linux debian squeeze create administrator user account
    • debian 8 not in the sudoers file blocked
    • sudo in debian
    • grant user as root debian
    • enabling sudo password entails
    • allow sudo to new account
    • enable sudo on user
    • how to check sudo permission in debian server
    • sudo is not a recognized command in debian
    • how to enable root user on jessie
    • how to get root access on debian
    • debian6 i cant login as su
    • user@debian:
    • debian give user sudo rights
    • how to login as another user in debian squeeze
    • debian cannot execute as root correct password
    • debian user su
    • add sudo to debian
    • adding sudo to debian jessie 8 kde
    • how can create and open folder using terminal in debian6
    • how to use sudo on debian 8
    • how to add root user in debian kde
    • wheezy sudoers user
    • terminal debian squezze di windows
    • debian restrict sudo
    • how to change to a non root user debian
    • switch to root debian 6
    • add sudoer raspian
    • the standard login and password to get access debian 6
    • What is the standard login and password to get access debian 6
    • debian jessie sudoers
    • admin priviledge on jessie debian
    • no sudoer debian
    • debian 8 add sudo user rights
    • debian 8 sudo
    • add to sudoers kde
    • install sudo without enabling root
    • create sudo user debian
    • debian adduser to root group
    • ubuntu adduser with sudo permission
    • how do I change root users in debian
    • disable user sudo permissions debian
    • add sudo for user debian
    • debian how to sudo
    • cant sudo on debian- not on list
    • debian sudo command
    • make sudo in debian like ubuntu
    • enable user on a sudo list on debian
    • debian wheezy create user account
    • debian sudo group not working
    • debian jessie gnome sudo admin
    • debian create user
    • should i creat root account debian
    • debian change user to admin
    • debian how to change user root access
    • how to get sudo debian
    • log in as sudo in debian
    • become sudoers debian
    • how to open terminal as sudo debian 6
    • sudo: /opt/jdk1 8 0_20/bin/java: command not found debian wheezy
    • raspbian root user
    • whats the sudo password for kde
    • kde develop add root
    • debian sudo permission
    • eable SUDO command on Debian
    • debian jesse using sudo
    • debian jessie sudo
    • how to set a user as root in debian
    • how to use sudo in debian
    • gave uswr su permissuon now cant login debian
    • Bananian add privilege to user
    • debian how to add root privalgis t o a user
    • how to enable a user to use sudo
    • sudo not available debian administrator
    • sudo on iphone
    • sudo debian 8
    • how to give sudo permission to user on debian
    • how to install root on debian 6
    • setup non-root User with Sudo Access on debian
    • how to add sudo in debian
    • additing user to sudo debian from terminal command
    • debian add sudo rights
    • debian 8 add user to sudo kde
    • debian sudo user account
    • linux block user to become root enable sudo for commands
    • create admin user debian
    • enabling root user for debian 6
    • cls in linux shell
    • debian 8 sudo
    • install sudo debian
    • no sudo debian
    • kenal folder raspian
    • sudo command not found debian 6
    • add su priveledges to user debian 8
    • debian 6 image sudo not installed
    • debian user with root permissions
    • adduser debian
    • enabling sudo on noobs
    • sudoers squeeze
    • debian new user disable root
    • debian jessie give user root rights
    • no sudo in debian 8?
    • change user to root on debian
    • sudo user in debian not found
    • debian wheezy root terminal
    • add user to raspian
    • debian add sudo to user command
    • debian how to sudo user
    • debian 6 root privilege
    • debian root access
    • debian add sudoer
    • password sudo debian
    • allow user to use sudo without password debian
    • how do i create a sudo passowrd for my user
    • root rights for debian
    • linux enable user to sudo
    • debian download sudo
    • debian make user to sudo
    • debian give permissions to user
    • how to change to user root in debian
    • debian 7 create a super user
    • debian change to admin
    • root terminal bash kde debian
    • debian give permission
    • allow sudo with root
    • debian preseed sudo
    • debian how to enable kde root login
    • create root account on debian
    • addsudo debian
    • sudo enable user
    • debian how to add root permission
    • change sudo group debian
    • configuring super user debian
    • how to provide sudo for existing user in debian
    • how to set up sudoers wheezy
    • enable user sudo
    • raspbian give user root permissions
    • debian sudo app update
    • debian set user as superuser
    • debian wheezy no sudo
    • 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

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

Tag Cloud