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!

Disable portsentry

Discussion in 'General Discussion' started by christec, Apr 28, 2009.

  1. christec

    christec Member

    Joined:
    Jul 23, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    151
    I would like to disable portsentry at cPanel installation time.

    From /scripts/sysup:
    Code:
    if ( -e '/etc/portsentrydisable' ) {
        print "Portsentry is disabled and will not be installed\n";
    }
    
    Is creating the file /etc/portsentrydisable before installing cPanel the correct method to not install portsentry? Or is there some other method?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    A general rule of thumb is to install cPanel/WHM first, ensure it is operational, then install anything else you need (e.g. firewalls and IDSs).
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    42
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    Creating that file is the only way ( to my knowledge ) of disabling portsentry. You can do so before installing cPanel.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    While disabling as per se you could also just rpm -e it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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