mkdir /cvs
edit "/etc/profile" and add 

	if [ -z "$CVSROOT" ]; then
        	CVSROOT=/cvs/
	fi

	if [ -z "$EDITOR" ]; then
        	EDITOR=kedit
	fi

	make the the export statement contains CVSROOT and EDITOR

	export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC CVSROOT EDITOR

groupadd cvs 

vi /etc/group add the usernames to the cvs group
	cvs:x:501:root,james


create a file in xinetd named cvspserver

<file>

# default: on
# description: This is my setup of a cvs server; I will \
#	be testing it for a while so that I can understand it.
service cvspserver
{
	
	flags		= REUSE
	socket_type	= stream        
	wait		= no
	user		= root
	server		= /usr/bin/cvs
	server_args	= -f --allow-root=/cvs pserver
	only_from 	= 192.168.1.0
	log_type	= SYSLOG 
}

</file>


cd /
cvs -d /cvs init

chgrp -R cvs .
chmod ug+rwx . CVSROOT

cp /etc/passwd /cvs/CVSROOT/passwd

edit till it only contains the root and users you want delete anything after the second colon
root:$1$ÕÿãVGtdR$fsLYZxbgdTEznzItNJWNv/:
james:$1$ìiMb8GMÄ$khNKPLHTU.Yo1t3BgkjDT0:
