Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can Git authenticate virtual users via PAM? In particular, would Git require some additional utility, such as gitolite or gitosis?

share|improve this question
Since I require to authenticate Git users against a MySQL database, a simpler solution which doesn't require PAM can be applied: run git via HTTP protocol, served by Apache with modules auth_mysql and WebDAV. I haven't yet solved this simpler hypothetical way, but it seems I'm close. Here I discussed one of the troubles encountered: – davide Dec 29 '12 at 20:57
Problem solved thanks to the discussion carried on the above mailing list. – davide Dec 30 '12 at 1:03

Git doesn't authenticate. Period.

Gitolite (please don't use the now obsolete project gitosis) is only for authorization.

As long as the listening service (ssh or apache) is able to:

You can authenticate using PAM and authorize using Gitolite.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.