On Wed, Dec 06, 2000 at 06:22:28PM +0200, Tim wrote:

> Can anyone enlighten me as to how I should go about setting up the pserver 
> daemon under RH7.0 xinetd?

I've not used xinetd (still using a much-updated RH5.2 without it), but
try this:

Create a dummy inetd.conf with just one line:

  cvspserver  stream  tcp  nowait  root  /usr/bin/cvs cvs 
--allow-root=/usr/local/cvsroot pserver

and make sure that cvspserver is listed as 2401/tcp in /etc/services.

Use xconv.pl to generate a dummy xinetd.conf, then copy the cvspserver
configuration block into your real xinet.conf.  I'd imagine it'd look
something like this:

service cvspserver
{
        socket_type = stream
        wait        = no
        user        = root
        server      = /usr/bin/cvs
        server_args = --allow-root=/usr/local/cvsroot pserver
}


I got this from an xinetd tutorial I found via http://www.xinetd.org/.


Cheers,

John
-- 
whois [EMAIL PROTECTED]


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to