Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: mail-archive.com/git@vger.kernel.org/msg14449.html –  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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.