Created
May 18, 2012 04:37
-
-
Save sandys/2723167 to your computer and use it in GitHub Desktop.
Gitolite installation using a secure user
This file contains hidden or 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
#Notice that when we created the user, we used –disable-password, which prevents us logging into the machine using a password. Therefore we’ll need to upload a ssh key for running the installer. Here, I will create a public and private keypair with the name id_rsa_gitolite. | |
sudo adduser --system --shell /bin/bash --gecos 'git version control' --group --disabled-password --home /home/gitolite gitolite | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment