info-cvs
[Top][All Lists]
Advanced

[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: Tue, 06 Jan 2004 15:18:19 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anne Henmi <address@hidden> writes:

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

You may find it more reasonable to use a chrooted jail for cvsroot
using SSH as the transport. The URL:

    http://www.pointless.nl/~peter/stuff/cvs-server.html

give you a step-by-step for NetBSD, but similar mechanisms will work for
other servers too.

> > > Here's what I have:
> > > There are several CVS repositories:
> > > 
> > > /cvs/project1
> > > /cvs/project2
> > > /cvs/project3
> > > ...
> > > 
> > 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
> thing.

I was suggesting a single cvs repository 

  /cvs/repository

with multiple projects

  /cvs/repository/project1
  /cvs/repository/project2
  /cvs/repository/project3

such that

  cvs -d :ext:address@hidden:/cvs/repository checkout project1
  cvs -d :ext:address@hidden:/cvs/repository checkout project2
  cvs -d :ext:address@hidden:/cvs/repository checkout project3

would work.

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

Why?

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/+0I73x41pRYZE/gRAu8WAKC2OCkOhxzvmRfNL72klVKSVsT59QCgjcl5
hlzmhnk673j9SIaS9P2IEig=
=5/2r
-----END PGP SIGNATURE-----




reply via email to

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