The most secure CVS repository setup also happens to be the simplest.
The following commands, when executed at the linux command-line, will create and initialize a CVS repository. It is accessible by any user with an account on the same host in the ‘cvs’ group, either while logged in locally or remotely over SSH.
sudo su - groupadd cvs mkdir /cvs export CVSROOT=/cvs cvs init chgrp -R cvs /cvs chmod g+w /cvs
Caveat: This is a great setup for a small, or technically-savvy group of CVS users, but if you need anonymous access, or if your users are not comfortable with SSH, you may want to provide pserver access.






