Created
April 29, 2016 17:50
-
-
Save glpunk/5503f4b027ff6cc1e0c31a2d57664526 to your computer and use it in GitHub Desktop.
Creating ssh user
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
sudo /usr/sbin/useradd --shell /bin/bash --home /home/adminwebsite -g www-data adminwebsite | |
sudo mkdir /home/adminwebsite | |
sudo chown -R adminwebsite:www-data /home/adminwebsite | |
sudo chmod 0700 /home/adminwebsite | |
sudo passwd adminwebsite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment