here's how i did it:
mkdir /cvs-server1
chmod 1770 /cvs-server1
export CVSROOT=/cvs-server1
cvs -d /cvs-server1 init
chown -R _cvs /cvs-server1
chgrp -R cvsgroup /cvs-server1
that's it.. ssh to the box
to import:
export CVS_RSH=/usr/bin/ssh
cvs -d:ext:
to checkout:
export CVS_RSH=/usr/bin/ssh
cvs -d:ext:
I used OpenBSD 4.5 sweetest operating system on the planet. comes with cvs =)
i used _cvs user to tagged the folder as "cvs" it's locked
i used cvsgroup as a group to put in all the cvs-users i have in mind.
it's a simple setup all in all, i didn't even bother to chroot the box since i use this box for one thing. CVS nothing more.
No comments:
Post a Comment