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.

I have a MySQL database storing user accounts (username and password) for my website. I need to provide a publicly accessible revision control system (eg. Git) toward some source files archived on server. It doesn't matter if this system is Git or SVN or any equivalent solution suitable for this problem: what's important is that users have to be allowed to access the revision system using just their accounts stored in database, with no other complication to the users (such as cryptographic keys).
For example: Bob registers to website with password 1234; hence he must be allowed to access the revision system by

git clone bob@example.com:/rep/

using password 1234

Are there available solutions?

share|improve this question
    
Are there available solutions - yes. For example there are plugins to link PAM to a database. –  Zoredache Dec 28 '12 at 19:49
    
mmm... I seem to have successfully linked PAM to MySQL's accounts table. I wonder if git now can directly authenticate virtual users against the database, or if I'm forced to use some git "extension" such as gitolite. –  davide Dec 29 '12 at 0:10
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.