November 11, 2025
Remote file
content-debian-13.html
does not exist.
Remote file
content-configure-test-windowsapps.html
does not exist.
This appendix explains how to install sudo and grant yourself sudo privileges. To do these, you must know the root password.
Login as superuser.
$ su -l
The next two commands will install sudo, if it is not already installed.
# apt update
# apt install sudo
With sudo installed, the following enables you to use sudo. Just replace user-name by your own user name.
# adduser user-name sudo
Log out of the root account and close the Terminal window.
# exit
$ exit
Close any open apps.
In order to activate sudo for your user name, Restart your Computer.
When logged in again, continue from here to verify sudo is installed and properly configured.
-------- Waiting for computer to restart --------
To verify you can now use sudo, open a Terminal session and issue the following command.
$ sudo echo Hello
The test is successful if, after requesting and receiving your password, Hello is displayed.
Did you find this page helpful? Have constructive feedback? Wisdom to share?
Send email to Email Address
