Created
March 14, 2019 23:31
-
-
Save thepatrick/dc6aa1ce826a575af3fad6e901662c96 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
#!/bin/bash | |
adduser patrick | |
adduser patrick admin | |
su - patrick -c "mkdir -p ~/.ssh && curl --silent https://github.com/thepatrick.keys > .ssh/authorized_keys" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment