info-cvs
[Top][All Lists]
Advanced

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

Re: anonymous cvs init.


From: Tanaka Akira
Subject: Re: anonymous cvs init.
Date: 30 Jan 2002 01:28:18 +0900
User-agent: T-gnus/6.14.5 (based on Gnus v5.8.7) (revision 08) SEMI/1.14.0 (Iburihashi) Deisui/1.14.0 (Kikuhime) APEL/10.3 Emacs/21.0.104 (i386-unknown-freebsd4.2) MULE/5.0 (SAKAKI)

In article <address@hidden>,
  address@hidden (Larry Jones) writes:

> There's no need.  If you're using anonymous cvs, you must be running
> pserver which doesn't allow access to any repository that it doesn't
> know about (via the --allow-root command line option in inetd.conf). 
> Running init on an existing repository is perfectly safe -- it won't
> destroy or modify any existing data.  At most it will create any missing
> administrative files with just comments in them.

But it is possible to initialize a repository other than specified by
--allow-root.

% cvs -v

Concurrent Versions System (CVS) 1.11.1.1 (client/server)

Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, 
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS
% cvs -d /tmp/y init
% echo anonymous > /tmp/y/CVSROOT/readers          
% echo anonymous::akr > /tmp/y/CVSROOT/passwd 
% cvs --allow-root=/tmp/y pserver
BEGIN AUTH REQUEST
/tmp/y
anonymous
A
END AUTH REQUEST
cvs: setgroups: Operation not permitted
I LOVE YOU
init /tmp/x
ok

Is it perfectly safe?
-- 
Tanaka Akira



reply via email to

[Prev in Thread] Current Thread [Next in Thread]