CVS-server笔记

rpm -q | grep cvs
groupadd cvs
useradd -g cvs -G cvs –d /home/cvsroot cvsroot
passwd cvsroot
chmod –R 770 /home/cvsroot
su – cvsroot
mkdir proj
cvs -d /home/cvsroot/proj init
chmod –R 770 /home/cvsroot/proj
exit
vim /etc/xinetd.d/cvspserver

service cvspserver
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server= /usr/bin/cvs
server_args= -f –allow-root=/home/cvsroot/proj pserver
log_on_failure += USERID
}

vim /etc/services

cvspserver 2401/tcp #pserver cvs service
cvspserver 2401/udp #pserver cvs service

su – cvsroot
vim proj/CVSROOT/passwd
usrname::cvsroot


相关文章

Speak Your Mind

If you want a pic to show with your comment, go get a gravatar!