bug-cvs
[Top][All Lists]
Advanced

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

Can the admin command be disabled?


From: Mark
Subject: Can the admin command be disabled?
Date: Fri, 22 Jun 2001 07:16:44 -0700 (PDT)

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.

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/



reply via email to

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