Created
February 20, 2018 22:14
-
-
Save tstachl/8dc03f7bd5586ab010495401f048a770 to your computer and use it in GitHub Desktop.
Steps I took to create a sudo user on my Digital Ocean Droplet (Ubuntu).
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
# SSH as root to your Digital Ocean Droplet | |
ssh root@[DROPLET_IP] | |
# create the new user | |
adduser example | |
# add new user to the sudo group | |
gpasswd -a example sudo | |
# logging in with the new user | |
su - example | |
# test if you have sudo | |
sudo ls -la / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment