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

Proposal: Inhibit "console down"

Steffen Rheinhold steffen@rheinhold.org
Thu, 2 Aug 2007 02:31:00 -0700 (PDT)


Hello,

how about adding an conditional statement around ^Ecd ? I do not want
users to down a console at all. Something like

OLD:

group.c Line 3620:
case 'd':   /* down a console       */
    CommandDown(pGE, pCLServing, pCEServing,
           tyme);
           break;

NEW:

case 'd':   /* down a console       */
    if (pCEServing->allowUserDown) {
        CommandDown(pGE, pCLServing, pCEServing,
            tyme);
            break;
    }

and an option "options [!]allowuserdown" in conserver.cf

I am no C programmer, just to be discussed.

cu, Steffen