[ILUG] setting up anonymous CVS access ?

David Neary bolsh at gimp.org
Fri Mar 1 16:06:30 GMT 2002


On Fri, Mar 01, 2002 at 01:35:30PM +0000, John P. Looney wrote:
>  How do I add anon (reading) access to a CVS repository ? I've added
> "anonymous" to the CVSROOT/readers file, but I've a feeling I need
> some sort of password file, if I'm using :pserver: (even for an anonymous
> user with no password...).

You need to make sure that CVS uses CVSROOT/passwd rather than
/etc/passwd for usernames - which you can do in CVSROOT/config by
setting SystemAuth to no. The alternative is to set up a system
anoncvs user with the password fiels set to * (no login), and no
password in the CVSROOT/passwd file.

In any case, you need some kind of local user under whose uid the
anonymous user will run. Set it up as extremelt restrictive, and
add that to the third field of CVSROOT/passwd, so you have
anonymous::donteventry

where donteventry has the right to do nothing on the system
except read cvs.

Dave.

-- 
          David Neary,
     E-Mail: bolsh at gimp.org
      IRL: Marseille, France




More information about the ILUG mailing list