2.6. CVS Authentication

2.6.1. Background

Authentication is done in CVS through the $CVSROOT/CVSROOT/passwd file. It can be easily manipulated through some of the CVS administration tools that are available.

2.6.2. CVS administration tools

I recommend cvsadmin, but there is also a manual method that can be used in the absence of such tools, which involves copying the system shadow file and modifying it for use by CVS. For more information on the manual method, see the RedHat CVS pserver setup guide by Michael Amorose (http://www.michael-amorose.com/cvs/).

2.6.3. Setup authentication using the cvsadmin tool

You can find a tarball to install on your system using the above address, but here is the address of a recent RPM package of the version. This package is intended for mandrake systems, but is compatible with Red Hat 7.1:

After installing, create a password file (touch $CVSROOT/CVSROOT/passwd), and execute cvsadmin add <usernames> for each of your usernames.