bug-cvs
[Top][All Lists]
Advanced

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

Re: Can the admin command be disabled?


From: Mark
Subject: Re: Can the admin command be disabled?
Date: Fri, 22 Jun 2001 08:17:40 -0700 (PDT)

I am aware of the admin group and how it works. That wasn't what I was asking.

Forget the admin command (should have seen that response comming) How can the
import command be disabled in pserver, so cvs does not recognize it as a valid
command?

Mark

--- Donald Sharp <sharpd@cisco.com> wrote:
> On Fri, Jun 22, 2001 at 07:16:44AM -0700, Mark wrote:
> > With the CVS source for 1.11.1p1, how does one disable the admin command?
> In
> > main.c I commented out two lines. Now cvs binary does not recognize the
> admin
> > as a valid command (and cvs help does not list it as a command) in local
> mode.
> > Great.
> 
> Create a group cvsadmin, only members of this group can run 
> cvs admin commands.
> 
> http://cvshome.org/docs/manual/cvs_16.html#SEC119
> 
> donald
> > 
> > However this does not seem to affect the pserver. Looking at the code in
> > server.c, I comment out the REQ_LINE for "admin", hoping it won't be found
> and
> > then when rq->name==NULL an "unrecognized request" error would be sent.
> > However, commenting out that REQ_LINE just causes the server to hang on
> trying
> > to use the admin command. Is admin request needed for normal operations?
> > 
> > Any ideas on how to disable the admin command? I didn't think it would be
> to
> > difficult to do.
> > 
> > =====
> > \=======================\
> > \==\  Mark O'Brien
> > \==\  CM Consultant
> > \==\  cm_mark@yahoo.com
> > \=======================\
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/
> > 
> > _______________________________________________
> > Bug-cvs mailing list
> > Bug-cvs@gnu.org
> > http://mail.gnu.org/mailman/listinfo/bug-cvs


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



reply via email to

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