Skip to content

Instantly share code, notes, and snippets.

@Gronghon
Created July 21, 2013 21:21
Show Gist options
  • Save Gronghon/6050037 to your computer and use it in GitHub Desktop.
Save Gronghon/6050037 to your computer and use it in GitHub Desktop.
create a git user on debian without password and with git shell
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