You are not logged in.
Pages: 1
I'm trying to install gitolite following instructions from the wiki (I'm not using the AUR package, but I'm cloning from the official git repository).
The problem is that I cannot add a 'git' user because it already exists. It was created by the git package, which calls:
useradd --system -c 'git daemon user' -g git -d / -s /bin/bash git
I could use this user, but I need it to have a home directory /home/git.
What's the best thing to do? Create a new user 'gitolite' with home directory /home/gitolite, or change the home directory of 'git'?
Offline
That git user is added by the git package. I would add a new gitolite user to prevent problems with git 'system' user
Offline
I've opted to create a new 'gitolite' user, just to be on the safe and avoid messing with the system 'git' user.
I still don't know whether it would be safe to change the home directory of 'git' (though I assume it would)
Last edited by lazork (2014-01-28 16:53:50)
Offline
I assume the same, but wouldn't want risking a strange problem when some update somehow assumes / as $HOME
Offline
Pages: 1