[Top][All Lists]

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

Re: Is a multiple pserver possible?

From: Anne Henmi
Subject: Re: Is a multiple pserver possible?
Date: Tue, 6 Jan 2004 14:17:29 -0800
User-agent: Mutt/

Mark D. Baushke grabbed a keyboard and typed...
> > 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.

I will do that.

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

That's why I'm looking to use cvsd, because it runs pserver in a
chrooted jail.

> > 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.

Ok, I can contact the author of cvsd about that then.

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

Ok, I'm not sure what you mean by that. I'm relatively new to the CVS

> > 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.

I don't either, but the main user of the system wants multiple anonymous
type accounts.

Thanks for your help.


              .-"".__."``".   Anne Henmi, System Administrator
 .-.--. _...' (/)   (/)   ``'   gator at cacr dot caltech dot edu 
(O/ O) \-'      ` -="""=.    ',  Center for Advanced Computing Research    

Attachment: signature.asc
Description: Digital signature

reply via email to

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