Do you like this article? Share it with this link. Thanks!
The command sudo
allows you running programs with the security privileges of another user (commonly root).
There are many benefits of using it instead of su
so it's important enable sudo
in an user account. In this tutorial you allow an user account have all the privileges with sudo
. For more custom, visit the Debian Wiki of 'sudo'.
At first, login to an user account and open a terminal to execute the following commands:
su
. Enter your root password.apt-get install sudo
./sbin/adduser username sudo
. Where username is your user account.sudo echo 'Hello, world!'
, enter your user password and that's it!If all goes well you'll see on screen Hello, world!.
Do you like this article? Share it with this link. Thanks!