2

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

davide
  • 162
  • 8
  • 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: http://www.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 01:03

1 Answers1

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.

VonC
  • 2,683
  • 5
  • 30
  • 49