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.

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:
    1
    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,279
    Likes Received:
    8
    Trophy Points:
    38
    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,461
    Likes Received:
    22
    Trophy Points:
    38
    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.
     
  4. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    While disabling as per se you could also just rpm -e it.
     
Loading...

Share This Page