[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
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