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
> \==\  [EMAIL PROTECTED]
> \=======================\
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> _______________________________________________
> Bug-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/bug-cvs

_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to