Categories

How to Setup a Simple, Very Secure CVS Repository

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.

Share this page:
  • Reddit
  • Slashdot
  • Digg
  • Facebook
  • del.icio.us
  • Google Bookmarks

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What is 15 + 15 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)