christec

Member
Jul 23, 2003
8
0
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?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
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?
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).
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
458
cPanel Access Level
Root Administrator
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?
Creating that file is the only way ( to my knowledge ) of disabling portsentry. You can do so before installing cPanel.