dazz
dazz

Reputation: 8742

gitolite package doesn't create user

I installed gitolite using

apt-get install gitolite

and according to this tutorial (and many others) there should be a gitolite user but when i do

su - gitolite

i get Unknown id: gitolite

Do i need to created it manually? I have to add that this is the second time i try to install gitolite, so i first removed it and then reinstalled it. Maybe there is some stuff left that wasn't remove?

Upvotes: 5

Views: 886

Answers (2)

pkhamre
pkhamre

Reputation: 371

Just run the following command and the user will be created:

sudo dpkg-reconfigure gitolite

Upvotes: 1

VonC
VonC

Reputation: 1324606

According to the official Installation Guide for Gitolite, there is no need for a 'gitolite' user.

A bare minimum gitolite setup has:

  • a server
  • a "hosting user" on the server (a real Unix userid; we use "git" in this document, although RPM/DEB installs use "gitolite")
  • a virtual "admin user" -- the user who sets up gitolite and configures it the admin user's client or workstation, from which he does all his work.

You can name your "hosting user" whatever name you want.
You only need a real Unix userid user. You can create one manually if you want, or pick an existing one.

Upvotes: 0

Related Questions