[Top][All Lists]

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

Re: Is a multiple pserver possible?

From: Mark D. Baushke
Subject: Re: Is a multiple pserver possible?
Date: Mon, 05 Jan 2004 09:24:22 -0800

Hash: SHA1

Anne Henmi <address@hidden> writes:

> I've checked everywhere (google, mailing lists, etc), and I can't 
> quite seem to find the answer to this.
> I'm looking at doing several anonymous accounts, without starting
> a lot of cvsd's running.

cvsd is not a standard part of the version of cvs.
It was written by Arthur de Jong.

The web page for cvsd is at this URL:

I am sure you could ask him how things work. There are e-mail addresses
on his web page that you may use to contact him.

FYI. I have never used cvsd. (Personal opinion: I am against the use of
:pserver: for most purposes. I do not consider it secure.)

> Here's what I have:
> There are several CVS repositories:
> /cvs/project1
> /cvs/project2
> /cvs/project3
> ...
> For each project, I need to have an anonymous user to checkout source:
> $ cvs -d anonymous-user-for-project1
> $ cvs -d anonymous-user-for-project2
> $ cvs -d anonymous-user-for-project3
> ...
> (I know the syntax isn't right here, but you get my drift :)

I'm not sure I do, you used /cvs/project1 in all three commands with an
access method that implies :ext: rather than :pserver: ... very confused.

That said, there is funadmentally no problem with this:

cvs -d :pserver:address@hidden:/cvs/project1 co world
cvs -d :pserver:address@hidden:/cvs/project2 co my-world
cvs -d :pserver:address@hidden:/cvs/project3 co another-project

all being run on the same port 2401 using a standard 'cvs pserver' entry.

I suppose cvsd may have a harder time running out of a chrooted jail
that can handle all three at the same time, but I don't know.

It would equally reasonable to have a single repository in which all
three projects resided as modules.

> So, is this possible? Do I need to just create several CVS users for
> the anonymous projects? Can I get away with that without running a lot
> of cvsd's?

Leaving aside the merits of cvsd, I do not see any problem with having a
single anonymous user for all of the repositories hosted on a single
server. You should be able to setup the [x]inetd.conf or equivalent
command to invoke 'cvs pserver' with --allow-root=/cvs/project1
- --allow-root=/cvs/project2 --allow-root=/cvs/project3 when a connection
to the cvspserver port (2401) by adding the same CVSROOT/passwd entry
for the anonymous user to each repository.

        Good luck,
        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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