//cange user to root

su root

//create the group cvs-user

groupadd cvs-user

//initialize the directory

cvs -d /usr/local/cvsrep init

//give the group read write permission, and ownership

cd /usr/local/cvsrep
chmod -R g+wr .
# -R recurses over subdirectories
# g+wr gives members of the group read write permision

chgrp -R cvs-user .
# -R recurses over subdirectories
# this command changes the group settings of all files in the sub directory tree

# important note on read / write privaleges
# on some linux / unix systems the users of the group have to log out, and log back in before changes take effect

//add some users to the cvs-user group

//first find out what groups clarks is a member of
egrep clarks /etc/group
//add clarks to cvs-user
usermod -Gwheel,cron,audio,video,users,clarks,cvs-user clarks
//add evan to cvs-user
egrep evan /etc/group
usermod -Gevan,cvs-user evan

add 3 new variables to the environment table

export CVSROOT=/usr/local/cvsrep
export CVSEDITOR=emacs
export CVSIGNORE="*.bin *.cmprss *.me"