在/etc/xinetd.d下建立文件cvspserver,添加如下内容
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
env = HOME=
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot pserver
}
然后重起xinetd
用netstat -lnp|grep 2401 观察服务是否启动
ps.cvs 删除多个文件的选项有f、l、R三个