Larry Jones wrote:
> Eric / Chang-Cheng, Chao writes:
> >
> > cvs [login aborted]: recv() from server xxxx.xxxx.xxxxx.xxx: Connection
> > reset by peer
>
> That usually indicates that inetd was unable to start the server for
> some reason -- check your syslog for error messages.
>
Thanks for the advice. I checked that inet is started properly. Now, I
receives another error message whenever I try to log in:
cvs [login aborted]: unrecognized auth response from 192.168.1.7: CVS
commands are:
Note that there is nothing after the colon.
The error seems to come from the tcpdwrapper.
If I change the entry I have in inetd.conf from
"cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/cvs \
--allow-root=/usr/local/newrepos pserver" to "cvspserver stream tcp
nowait root /usr/local/bin/cvs cvs \
--allow-root=/usr/local/newrepos pserver", I can log in fine. What could
be causing the problem?
>
> > 2. put in "cvspserver stream tcp nowait root /usr/sbin/tcpd
> > /usr/local/bin/cvs --allow-root=/usr/local/newrepos pserver" into
> > /etc/inetd.conf
> [...]
> > Finally, I use "cvs -d :pserver:cvs_user@cvs_server:/usr/local/cvsroot
> > login" to login into the cvs server.
>
> Note that the repository you've specified doesn't match the --allow-root
> in inetd.conf -- that shouldn't cause this problem, but it will cause
> problems later on.
>
> -Larry Jones
>
> You don't get to be Mom if you can't fix everything just right. -- Calvin