[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to configure CVS server

From: Larry Jones
Subject: Re: How to configure CVS server
Date: Tue, 5 Mar 2002 11:40:44 -0500 (EST)

Linux India writes:
>       I'm trying to configure CVS machine [server] on my company network. I'm 
> using "RedHat 7.2"  I'm totally new to CVS stuff. There are many things that 
> were not covered in CVS document. 
>       Things like  
> 1.Unblocking the 2401 port. Which by default in RedHat is blocked by 
> firewall. 

The CVS manual is intended to be a guide, not a system management
tutorial.  Things like firewalls are clearly beyond its scope.

> 2. The document says every were "inetd.conf" but I guess in RH7.2 it is 
> "xinetd.conf"

To my knowledge, RH7.2 is the first system to ship with xinetd instead
of inetd, so it's not too surprising that the CVS manual (which is older
than RH7.2) doesn't mention it.

> 3. The document doesnt have a single word on /etc/xinet.d/cvspserver file! 
> I have created that file on my own. but I dont know if that is right or not. 

You might have tried consulting the current development version of the
manual, or the archives of this list: the question has been addressed
many times.  Once again, here's what the current version of the manual

        If your system uses xinetd instead of inetd, the procedure is
        slightly different. Create a file called
        '/etc/xinetd.d/cvspserver' containing the following:

        service cvspserver
           port        = 2401
           socket_type = stream
           protocol    = tcp
           wait        = no
           user        = root
           passenv     = PATH
           server      = /usr/local/bin/cvs
           server_args = -f --allow-root=/usr/cvsroot pserver

        (If cvspserver is defined in '/etc/services', you can omit the
        port line.)

> 4. Also the document doesnt say anything how to create cvs users file. i.e. 
> how to create names & password file. One of the major problem is I have NIS 
> server that authenticates all my users at central server but I dont know how 
> to authenticate users in that case.

On the contrary, the section on direct connection with password


does cover the topic, although briefly.  Basically, you create the file
by hand.  You can get encrypted passwords by cutting and pasting them
from a system passwd file or you can use one of the numerous scripts
that have been posted here (see the list archives).  If you fall back to
using system authentication (which is enabled by default), CVS uses the
system's user-lookup routines, which should work correctly with your NIS

-Larry Jones

These pictures will remind us of more than we want to remember.
-- Calvin's Mom

reply via email to

[Prev in Thread] Current Thread [Next in Thread]