On Thursday, April 13, 2000 6:03 AM, Gary Pinkham [SMTP:[EMAIL PROTECTED]] wrote:
> I put 
> 
> #!/bin/sh
> /bin/cvs cvs --allow-root=/usr/local/cvs1 --allow-root=/usr/local/cvs2
> --allow-root=/usr/local/cvs3 --allow-root=/usr/local/cvs4 pserver

Don't pass cvs as a parameter to cvs and it should work for you.  The line should be:

/bin/cvs --allow-root=/usr/local/cvs1 --allow-root=/usr/local/cvs2 
--allow-root=/usr/local/cvs3 --allow-root=/usr/local/cvs4 pserver

> 
> into cvs.sh
> 
> then I added 
> 
> cvsserve  stream tcp nowait root /etc/inet/cvs.sh
> 
> into inetd.conf...
> 
> when I try to do a cvs login
> I get the following
> "cvs [login aborted]: unrecognized auth response from ape: CVS commands are:"
> 
> If I execute the cvs.sh from the command prompt I get the "CVS commands are:
> blah blah blah"..    SO I was figuring that I needed to code the line different
> in the script then I would in the inetd.conf file...   I have no idea!!!!
> 
> GaRy....
> 
> Dave Sherohman wrote:
> > 
> > On Wed, Apr 12, 2000 at 11:20:50AM -0400, Gary Pinkham wrote:
> > > Could someone point me in the right direction for setting up a shell script for
> > > inetd to call since I have 4 repositories and can only fit three in inetd...   I
> > > basically did /bin/cvs cvs --allow-root/usr/local/cvsroot (blah blah blah)
> > > pserver...     But this does not work...  So I'm guessing that I'm supposed to
> > > have some other command....
> > 
> > Your problem is simply that inetd doesn't like commands longer than 30
> > characters.  All you need to do is put your '/bin/cvs cvs
> > --allow-root/usr/local/cvsroot (blah blah blah)' command into a shell script
> > and call the script from inetd.
> > 
 


***************************************************************
Chris Cameron                    Open Telecommunications NZ Ltd
Software Development Team Leader
[EMAIL PROTECTED]                           P.O.Box 10-388
      +64 4 495 8403 (DDI)                          The Terrace
fax:  +64 4 495 8419                                 Wellington
cell: +64 21 650 680                                New Zealand
Life, don't talk to me about life ....(Marvin - HHGTTG)


Reply via email to