First, make sure you have a good version of cvs installed. The version I'm using is 1.11.19, intentionally the latest stable version, not some experimental version that has features you probably don't need anyway.
My /etc/xinetd.d/cvspserver file looks like this:
service cvspserver
{
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = root
passenv = PATH
server = /usr/local/bin/cvs
server_args = -f --allow-root=/cvs pserver
}
Then, as root, create the cvs repository, and set it up so that all files and future directories will automatically belong to the cvs group, by using a sticky bit:
$ cd / $ mkdir cvs $ chown mike.cvs cvs $ chmod g+x cvs $ cvs -d /cvs init
Now a few tricky things. Before we modify some of cvs's default behaviour, we'll need to check out CVSROOT somewhere, and make some changes. Let's not do this as user root, but user 'mike', or any other normal user name you wish.
$ su - mike $ cvs -d /cvs co CVSROOT $ cd CVSROOT
to be continued...





