I am trying to set-up a CVS pserver on my RedHat 7.1 development machine.
I tried reading the CVS book at http://cvsbook.red-bean.com, but it
does not cover xinetd, so I tried to adapt it myself.
Here is what I did as root:
cvs -d /usr/local/cvsroot init
/usr/sbin/useradd cvs
cd /usr/local/cvsroo
Something to do with cvs server running as root, inheriting the HOME
environment variable. Create a user named "cvs" and run the server under
that user. Or try this as root:
unset HOME
/etc/rc.d/init.d/inet restart
Regards from Olav!
Neil Aggarwal wrote:
> I am trying to set-up a CVS pserver
Neil Aggarwal writes:
>
> vi /etc/xinetd.d/cvs and added these lines:
> service cvs
That should probably be "cvspserver" rather than "cvs".
> {
> port = 2401
If "cvspserver" is defined as port 2401 in /etc/services, which it
should be, you don't need that line (although it doesn't hurt