I am having trouble setting up cvspserver with xinetd.
# echo $CVS_RSH
# echo $CVSROOT
:pserver:dan@localhost:/home/cvs
# cvs login
(Logging in to dan@localhost)
CVS password:
cvs [login aborted]: recv() from server localhost: Connection reset by peer
# cat /etc/cvs/cvs.conf
CVS_REPOS="/home/cvs"
CVSROOT="/home/cvs"
My cvs setup for xinetd
service cvspserver
{
disable = no
socket_type = stream
protocol = tcp
passenv =
wait = no
user = root
server = /usr/sbin/cvspserver
instances = 9
log_on_success += USERID
# localhost, LAN, work
only_from = 127.0.0.1/32 192.168.100.0/24 136.159.0.0/16
}
This does not wrong when using WinCVS or from command line on the server
(even as root). Using CVS_RSH=ssh and :ext: will work, but I need :pserver:
for users with no system account.
Thanks...Dan.