Use root (super user): # bzip2 -d cvs-1.12.9.tar.bz2 # tar xvf cvs-1.12.9.tar # CD CVS-1.12.9 # ./configure # make # make install # CD / ETC / xinetd.d/# vi cvspserver file: /etc/xinetd.d/cvspserver ================================ == # default: on service cvspserver {disable = no socket_type = stream wait = no user = root server = / usr / local / bin / cvs server_args = -f --allow-root = / home / cvs pserver log_on_failure = USERID ONLY_FROM = 172.18.10.0/24} =================================== # unset home # / etc / init .d / xinetd restart # groupAdd -g 600 CVSUSER # UserAdd -g 600 -U 600 -D / home / cvs -s / bin / false cvs # sudo -u cvs cvs -d / home / cvs init
Use Myhan (Normal User): $ cvs -d: pserver: cvs@172.18.10.37: / home / cvs login $ cvs -d: pserver: cvs@172.18.10.37: / home / cvs co CVSROOT $ CD CVSROOT / $ VI Config file: ~ / cvsroot / config ================================== # set this to "no" if PServer Shouldn't check systemauth = no (removed #) ... ... ...... ================================================================================================================ ==================== $ CVS -D: PServer: cvs@172.18.10.37: / home / cvs Ci Configuse root (Super user): # sudo -u cvs Touch / Home / CVS / CVSROOT / PASSWD # sudo -u cvs touch / home / cvs / cvsroot / readers
Then: build cvspwd to manager cvs users :) http://www.pajamian.dhs.org/install cvs2cl.pl to gen changelog http://www.red-bean.com/cvs2cl/install cvsutils to help using CVS Effectively :) http://www.red-bean.com/cvsutils/install cvsWeb http://www.freebsd.org/projects/cvsweb.html