CVS remote checkout - Unix
This is a discussion on CVS remote checkout - Unix ; Hi have installed CVS on solaris 8.
and add the following into tester1 system on /etc/inetd.conf
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs
--allow-root=/storages/test_cvs pserver
and I issue a command as below on anther system, I got "root not
allowed"
...
-
CVS remote checkout
Hi have installed CVS on solaris 8.
and add the following into tester1 system on /etc/inetd.conf
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs
--allow-root=/storages/test_cvs pserver
and I issue a command as below on anther system, I got "root not
allowed"
cvs -d
server:clk@tester1.com:/backups/testcvs co source_code_dir
root not allowed
Please help.
-
Re: CVS remote checkout
"blackdog" writes:
> Hi have installed CVS on solaris 8.
> and add the following into tester1 system on /etc/inetd.conf
>
> cvspserver stream tcp nowait root /usr/local/bin/cvs cvs
> --allow-root=/storages/test_cvs pserver
>
> and I issue a command as below on anther system, I got "root not
> allowed"
>
> cvs -d
server:clk@tester1.com:/backups/testcvs co source_code_dir
> root not allowed
Note the --allow-root option. Your CVS server will only allow checkouts
from that repository.
-
Re: CVS remote checkout
What should I do in order to make it work? thanks
-
Re: CVS remote checkout
"blackdog" writes:
> What should I do in order to make it work? thanks
Please, if you have to use Google Groups, make sure you quote the original
text properly. The default behavior of Google Groups is broken, annoying
and stupid. Without a proper quote from the original, people who get just
a single line from you won't be able to know what you are really talking
about.
For instance, seeing the above one-liner, someone who hasn't watched the
entire thread can't tell what "it" refers to. The following post of mine
contains the part that Google Groups didn't quote for you:
Giorgos Keramidas wrote:
% "blackdog" writes:
% > Hi have installed CVS on solaris 8.
% > and add the following into tester1 system on /etc/inetd.conf
% >
% > cvspserver stream tcp nowait root /usr/local/bin/cvs cvs
% > --allow-root=/storages/test_cvs pserver
% >
% > and I issue a command as below on anther system, I got "root not
% > allowed"
% >
% > cvs -d
server:clk@tester1.com:/backups/testcvs co source_code_dir
% > root not allowed
%
% Note the --allow-root option. Your CVS server will only allow checkouts
% from that repository.
You can make the remote repository access of CVS to work fine by making
sure that /backups/testcvs is included in the set of --allow-root options
the CVS server starts up with. Multiple options can be passed if
necessary:
# inetd.conf line (wrapped for USENET), make sure it's all on one line
# and the continuation "\" character is removed.
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs \
--allow-root /storages/test_cvs --allow-root /backups/testcvs pserver
All the details of the options you can use and their significance are
described in the reference manual of CVS too.
Regards,
Giorgos
-
Re: CVS remote checkout
On 22 Jul 2005 02:08:56 +0300, Giorgos Keramidas wrote:
> "blackdog" writes:
>> What should I do in order to make it work? thanks
>
> Please, if you have to use Google Groups, make sure you quote the original
> text properly. The default behavior of Google Groups is broken, annoying
> and stupid. Without a proper quote from the original, people who get just
> a single line from you won't be able to know what you are really talking
> about.
Yes. And before you think that Giorgos is being picky and/or presenting
a not widely held view, let me just say he's absolutely correct. It's
impossible to know what or who you're answering or asking questions of
if all we have is one line and no context.