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

RE: [jcvs] CVS Command line option - "--allow-root"


On page 21 of "the Cederqvist book" (Version Management with
CVS for CVS 1.10.7) in the CVS distribution (cvs-1.10.7/doc/cvs.ps)
it says:

"Unfortunately many versions of inetd have very small limits
on the number of arguments and / or the total length of the
command.  The usual solution to this problem is to have
inetd run a shell script which then invokes CVS with the
necessary arguments."

Bruce Ludlum
Autodaq
San Mateo, CA

-----Original Message-----
From: Jennifer Dayton [mailto:jdayton@abcv.com]
Sent: Wednesday, December 01, 1999 11:58 AM
To: 'jcvs@career.gjt.org'
Cc: Jennifer Dayton
Subject: RE: [jcvs] CVS Command line option - "--allow-root"


It seems there's a line length limitation for using this method.  I can get
3 projects listed but the other 39 projects can' t be added.  I get 

cvs [login aborted]: unrecognized auth response from creator: Usage: cvs
[cvs-options] command [command-options-and-arguments]

ie: Works:
cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs \
      --allow-root=/opt/projects/unixadmin/src-repository \
      --allow-root=/opt/projects/audionet/src-repository \
      --allow-root=/opt/projects/prism/src-repository pserver

but this doesn't.

cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs 
     --allow-root=/opt/projects/unixadmin/src-repository \
     --allow-root=/opt/projects/audionet/src-repository \
     --allow-root=/opt/projects/prism/src-repository \
     --allow-root=/opt/projects/rockwell/src-repository pserver

Any ideas how to get around this?
Jenny
ps:  I used the continuation line backslashes just in this message, not in
inetd.conf

> -----Original Message-----
> From:	Tim Endres [SMTP:time@ice.com]
> Sent:	Wednesday, December 01, 1999 10:24 AM
> To:	Jennifer Dayton; 'jcvs@career.gjt.org'
> Subject:	RE: [jcvs] CVS Command line option - "--allow-root"
> 
> > I have just recently upgraded cvs from 1.9.  We have several
> repositories
> > and I've put these entries into the inetd.conf file for each one of
> them.
> > Below is an example.  I can't log in.  I get the following error
> message:
> > cvs [login aborted]: authorization failed: server creator rejected
> access
> > 
> > I've tried finding the answers in the FAQs and such for CVS but have
> been
> > unsuccessful.  Any help would be appreciated.
> > 
> > Thanks,
> > Jennifer
> > 
> > cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs
> > --allow-root=/tmp/cvsroot pserver
> > cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs
> > --allow-root=/opt/projects/unixadmin/src-repository pserver
> > cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs
> > --allow-root=/opt/projects/audionet/src-repository pserver
> 
> You need to combine these into one line:
> 
> cvspserver  stream  tcp  nowait  root  /usr/local/bin/cvs cvs \
>   --allow-root=/tmp/cvsroot \
>   --allow-root=/opt/projects/unixadmin/src-repository \
>   --allow-root=/opt/projects/audionet/src-repository pserver
> 
> I show the line continuation backslashes, but do not put those into
> inetd.conf. The command should be one command on one line.
> 
> tim.
> Tim Endres  -  time@ice.com
> ICE Engineering, Inc.  -  http://www.ice.com/
> "USENET - a slow moving self parody." - Peter Honeyman

--------------------------------------------------------------------
To unsubscribe from this list:
   <http://www.gjt.org/servlets/MailingLists/UnsubForm.html/jcvs>