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.

Enabling Shell Fork Bomb Protection in Command Line

Discussion in 'Security' started by MonsterWeb, Apr 22, 2014.

  1. MonsterWeb

    MonsterWeb Registered

    Joined:
    May 9, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have been unable to find any documentation on enabling Shell Fork Bomb Protection through command line. Every forum I read leads back to doing this in WHM and does not mention anything about command line. I am hoping someone could point me in the correct direction. This would certainly assist in auto deployments of servers.

    Thanks
    MW
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    There isn't really a command to do this directly. I suppose you can either call the WHM url via CLI, but all it does is modify the files in /etc/profile.d/. You would probably just want to enable it manually on one of your servers and copy those files into place when doing your setups.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,814
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There are no command-line equivalents to this WHM feature, other than manually modifying the bash profile files. You could open a feature request for a command-line alternative via:

    Submit A Feature Request

    Thank you.
     
  4. MonsterWeb

    MonsterWeb Registered

    Joined:
    May 9, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
Loading...

Share This Page