[cvsnt] Where are CVS ACL settings stored?

Bo Berglund Bo.Berglund at system3r.se
Thu Nov 22 15:44:35 GMT 2007


> Is there the concept of "groups" in cvs where I can specify 
> ACLs based on 
> groups of users instead of individual users?

In CVSROOT you will find a number of related files:

The users file holds the user <-> email mapping used by CVS for watch
notifications.

The passwd file contains a list of the pserver and sserver users with
hashed passwords

The admin file contains a list of users who will have administrative
access to CVS (not the same as the PC admins)

Then there is also a possibility to add a group file (I believe it is
named such). This file contains definitions of the groups that the users
belong to.
The format of this file is as in the following example:

#This is a comment and is not acted on by CVSNT or CVSMailer
cvsusers: bob charlie jane morgan franchesca john jimmie louise jennifer
cvsadmins: bob louise
project_ulima: morgan jimmie louise
project_zobre: morgan john jennifer bob
managers: mparks hutchinson logan


So if you define your users into a number of groups in the group file
then you can use group names in the ACL:s as Arthur confirmed.

Notice:
Because of the interchangeability between group and user names you
should be careful to name the groups so they aren't confused with user
names...
And of course since the file is a space separated list you cannot use
usernames with embedded spaces! :-(

HTH

Bo B


More information about the cvsnt mailing list