On Fri, 5 Oct 2001, Harnish, Joe wrote:

> Hello all,
> 
> I am trying to create a CVS server for our development team.  So I went and
> found documentation on setting it up.  Well I go through the documentation
> until it says to add an entry into the inetd.conf file.  This line is:
> 
> cvspserver stream tcp nowait root /ust/bin/cvs cvs
> --allow-root=/usr/local/cvsroot pserver
> 
> I am trying to find out what the equivelent xinetd file would be.  But I can
> not find any information on inetd.conf to xinetd.d files conversion. If
> anyone could tell me where to find this information or how to do this I
> would greatly appreciate it.
> 
> Thanks
> 
> Joe

Try this (save as /etc/xinetd.d/cvspserver):

# default: off
# description: CVS Server
service cvspserver
{
        disable         = no
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/bin/cvs
        server_args     = --allow-root=/usr/local/cvsroot pserver
        log_on_success  += DURATION USERID
        log_on_failure  += USERID
        nice            = 10    
}

Of course you can edit the logging and nice values. I haven't tried this 
but I think it will work. I came up with it by looking at the file that 
starts rsync (/etc/xinetd.d/rsync) and took the values from the old inetd 
line you quoted above. I added the log_on_success and nice lines from the 
file for wu-ftpd (/etc/xinetd.d/wu-ftpd). The 'service cvspserver' line I 
determined by 'grep cvs /etc/services'. It shows cvspsrever using port 
2401, and CVSup on port 5999. If you are running CVSup it would be 
'service cvsup' instead.

BTW- most if not all of this is documented in 'man xinetd.conf'

-- 
Chris Kloiber, RHCE
Enterprise Support - Red Hat, Inc.

[root@earth root]# rm -rf /bin/laden



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to