[cvsnt] Basic User/Group ACL setup (Solaris)

Gerhard Fiedler lists at connectionbrazil.com
Mon Dec 4 22:28:15 GMT 2006

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

Cryer, Phil C. (STL) - cont wrote:

>>> [...] but then be able to add/remove users from those groups; I can't
>>> find this in the docs, and looking through the Achieves isn't helping
>>> me learn how to do it.  I thought it was as simple as adding a
>>> CVSROOT/group file with usernames on new lines, but I can't find how
>>> to tie this into the CVSNT server.
>> 1- Check out CVSROOT/ into a sandbox (as repo admin).
>> 2- Create a file "group" there.
>> 3- Add a line of the format "group: user1 user2 userN" for each group.
>> 4- cvs add this file.
>> 5- Add the group file to the file CVSROOT/checkoutlist (see examples in
>> there).
>> 6- Commit CVSROOT/.
> This is exactly what I was looking for, I really appreciate it!

Glad it helped.

> A followup, now that I have my users defined in passwd, then the list of
> groups with corresponding users from passwd in group, can I define
> multiple directories for that group to cover?  In other words, is there
> another 'config' file in CVSROOT that will tell the group to cover
> Directory1, Directory2/monday, Directory3/Tuesday/pm 

No. This is done with the chacl command, per directory, similar to the
normal *x directory permissions.

> If not I would I think I would create the groups, assign the groups to
> the directories via chacl and the add the users from passwd to group.  

Exactly. All commands that work with ACLs accept groups and users


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook