Created
February 21, 2017 07:27
-
-
Save swyngaard/a7d129a01c223a2b38fbafb57f2a9724 to your computer and use it in GitHub Desktop.
Install sudo on Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install sudo package as root: | |
# apt-get install sudo | |
Add a user to sudo group as root: | |
# usermod -a -G sudo username | |
Log the user (username) out of the current session and back in again. Test that it works: | |
$ sudo test | |
Ignore the warning message. If successfully completed no output will be generated and you should be returned to the terminal prompt as usual. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment