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!

Configure Background Process Killer from Command line

Discussion in 'Security' started by Amirhossein Matini, Aug 9, 2018.

  1. Amirhossein Matini

    Amirhossein Matini Registered

    Joined:
    Aug 9, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Your mind
    cPanel Access Level:
    Root Administrator
    Hello,

    I wanted t know if there is a way to configure and enable and configure Background Process Killer from command line.

    The following documentation does not provide any info about where is the config file being stored and how to edit that using command line.

    Thanks.
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,762
    Likes Received:
    116
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    I've used:

    cat >/var/cpanel/killproc.conf <<EOF
    BitchX
    bnc
    eggdrop
    generic-sniffers
    guardservices
    ircd
    psyBNC
    ptlink
    services
    EOF


    Although I suspect that you have to restart cPanel after doing this.

    I wish stuff like this was published some where. I know I try to avoid logging into the WHM as much as possible and do as much as I can from the shell. It's quicker that way.
     
    Amirhossein Matini likes this.
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    222
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Amirhossein Matini likes this.
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