Created
August 30, 2018 14:30
-
-
Save pat-s/f6fa2b39148aa927622f5b6e457a29fc to your computer and use it in GitHub Desktop.
Creates a new server on a Unix server
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
$USER=simon | |
sudo mkdir /data/$USER | |
sudo adduser $USER | |
pwgen 13 1 | |
sudo passwd $USER | |
sudo usermod -a -G data_users $USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment