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 want to secure some git repositories and using only users and groups is not sufficient.

I'm thinking about using ACLs to control the access.

The access to the repositories is local, the users have shell access.

share|improve this question
add comment

4 Answers 4

up vote 1 down vote accepted

I was going to suggest looking at the options provided by git init --shared=, but you preempted that by saying "using only users and groups is not sufficient." So I think your options are:

  • ACLs, as suggested by everyone.
  • removing local access, and using gitosis to control access via SSH keys.
share|improve this answer
add comment

You should check out AIX acls.

share|improve this answer
add comment

Please be more specific. How are the users getting to the repositories as it is? Why are users and groups insufficient?

share|improve this answer
    
there are more users in the group than users needing the repository access and I don't have control of how the groups are created or asigned. and the users access the repositories in the same machine –  Aragorn Jul 22 '09 at 14:37
add comment

Reflecting the comment on the previous, ACLs might indeed be the way to go. It's fairly easy either to grant users access individually, or to give the group access and block certain users. The tutorial here may be useful.

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.