Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Configuration Automation

Discussion in 'cPanel Developers' started by jdarow, May 29, 2011.

  1. jdarow

    jdarow Well-Known Member
    PartnerNOC

    Joined:
    May 30, 2003
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Michigan, US
    cPanel Access Level:
    DataCenter Provider
    Greetings Folks,

    I am hoping someone can save me some time who already knows how to enable

    (1) Fork Bomb Protection, and
    (2) Background Process Killer

    ... via the command line.

    Here's how to configure other security functions (not available within /var/cpanel/cpanel.config) via the command line:

    Compiler Access:

    chmod 750 /usr/bin/gcc

    PHP Open_basedir Tweak:

    /scriptsphpopenbasectl on

    SMTP Tweak:

    /scriptssmtpmailgidonly on

    Apache Mod_UserDir Tweak:

    /scripts/userdirctl on
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ravindradhainwa

    ravindradhainwa Well-Known Member

    Joined:
    Jan 24, 2008
    Messages:
    45
    Likes Received:
    1
    Trophy Points:
    56
    The commands must be as follows;

    PHP Open_basedir Tweak:

    /scripts/phpopenbasectl on

    SMTP Tweak:

    /scripts/smtpmailgidonly on
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice