The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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
     
  2. ravindradhainwa

    ravindradhainwa Well-Known Member

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

    PHP Open_basedir Tweak:

    /scripts/phpopenbasectl on

    SMTP Tweak:

    /scripts/smtpmailgidonly on
     

Share This Page