Created
July 21, 2013 21:21
-
-
Save Gronghon/6050037 to your computer and use it in GitHub Desktop.
create a git user on debian without password and with git shell
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 adduser \ | |
--system \ | |
--shell /usr/bin/git-shell \ | |
--gecos 'git version control' \ | |
--group \ | |
--disabled-password \ | |
--home /home/git \ | |
git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment