There's an example of what you need for a pserver on xinetd.org
as a caveat to that, tho, the current CVS rpms (1.10-8) are
buggy (read showstopper'd) when used as a pserver.
We ended up using the deb packages and aliening them to rpms,
and they're quite happy.
Cheers,
-Thom
On Thu, Dec 07, 2000 at 12:02:55 +1100, John Clarke said:
> 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
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug