Skip to content

Instantly share code, notes, and snippets.

@swyngaard
Created February 21, 2017 07:27
Show Gist options
  • Save swyngaard/a7d129a01c223a2b38fbafb57f2a9724 to your computer and use it in GitHub Desktop.
Save swyngaard/a7d129a01c223a2b38fbafb57f2a9724 to your computer and use it in GitHub Desktop.
Install sudo on Debian
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