Last active
November 25, 2018 15:21
-
-
Save rdkr/b95f00bb8487e36556fb0a4b3ac22493 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env sh | |
adduser --disabled-password --gecos "" neel | |
echo 'neel ALL=(ALL) NOPASSWD:ALL' | sudo EDITOR='tee -a' visudo | |
sudo -u neel mkdir -p /home/neel/.ssh | |
sudo -u neel curl https://github.com/rdkr.keys -o /home/neel/.ssh/authorized_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment