How to enable sudo on a user account in Debian 9

Today we look at how to enable "sudo" on any user account in Debian 9.  To summarize what we will do, sudo is a user group on your system and by default, Debian does not put a user account into that group so we have to do it ourselves.  So we need to open a terminal, log in as root, by typing su in your terminal, press enter, type your root password, and then run the next command you will find in the commands.  You need to change the your_username part with your username, as shown in the video and then reboot your system.  That is it!  Enjoy!

Commands Used: 
usermod -aG sudo your_username

Subscribe to our weekly Linux Round-Up: SUBSCRIBE

For a Video With Voice-Overs look here:

Curios about Chromebooks have a look at our Chromebook Comparison Chart!

Want to buy us a cup of coffee, thank you!

Do you want an ad-free, secure web experience, that pays you?  Look here for more information!

Follow us on Facebook: