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
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.
>
> --
> The Shortest Windows Manual: "Turn off the power switch."
> Geek Code 3.1: GCS d- s+: a- C++ UL++$ P+>+++ L++>++++ E- W--(++) N+ o+ !K
> w---$ O M- !V PS+ PE Y+ PGP t 5++ X+ R++ tv- b++ DI++++ D G e* h+ r++ y+
--
Gary Pinkham
Reasoning, Inc. Voice: 781-359-3132
One New England Executive Park Fax: 781-229-2770
Burlington, MA 01803 Email: [EMAIL PROTECTED]