info-cvs
[Top][All Lists]
Advanced

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

Re: Question regarding pserver


From: Mark D. Baushke
Subject: Re: Question regarding pserver
Date: Tue, 03 Jan 2006 16:58:41 -0800

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

Norman Crisp <address@hidden> writes:

> I apologize in advance as I seem to remember reading something on this
> matter several months ago but could not find the thread.

Google is your friend "pserver cvs allow-root multiple" and you would
find the following links eventually:

http://ximbiot.com/cvs/cvshome/cyclic/cvs/dev-net.html
http://ximbiot.com/cvs/cvshome/cyclic/cvs/dev-allow.html
http://lists.gnu.org/archive/html/info-cvs/2004-01/msg00018.html
http://joshua_davis.home.mindspring.com/cvs-pserver-linux.htm

> Is it possible to create a new cvs repository on the same Solaris file
> server as an existing cvs repository using pserver?  

Yes.

> Reason being that the current file server is a secure, backed up,
> highly redundant server. Also, the new project will require changes to
> the CVSROOT files as well as have a different set of users in the
> passwd file.
> 
> Our /etc/inetd.conf line looks something like this
> cvspserver stream tcp nowait root /dir/cvs/bin/cvs cvs
> --allow-root=/dir1/proj1 pserver

You may either add an additional --allow-root=/dir2/proj2 argument after
the first one, or (if your inetd does not allow enough arguments), you
may put the entire thing into a wrapper script and use as many
- --allow-root=pathname arguments as you need.

> 
> Our /etc/services looks something like
> cvspserver      2401/tcp
> 
> Can I create (and will it work)
> cvspserver2 stream tcp nowait root /dir/cvs/bin/cvs cvs
> --allow-root=/dir2/proj2 pserver
> cvspserver        2402/tcp

No. You want this:

cvspserver stream tcp nowait root /dir/cvs/bin/cvs cvs --allow-root=/dir1/proj1 
 --allow-root=/dir2/proj2 pserver

> Anyone have experience with this?

Yes.

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

iD8DBQFDux3BCg7APGsDnFERAizJAKDYNCkMCh9iVVchwGsC+wAOF0B3DgCeI0kb
BQiJJ89ZIEs0WL6oV63pIcI=
=MmQo
-----END PGP SIGNATURE-----




reply via email to

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