Skip Bind Options Tweaking if Skip File Exists
This commit is contained in:
parent
a927c7a2f2
commit
053e3772f0
2 changed files with 9 additions and 4 deletions
|
@ -3622,9 +3622,11 @@ echo -e "Securing PHPMyAdmin Configuration!\n"
|
||||||
# Secure PHPMyAdmin Configuration to Prevent Root Logins Except for Local Connections
|
# Secure PHPMyAdmin Configuration to Prevent Root Logins Except for Local Connections
|
||||||
securePHPMyAdminConfiguration
|
securePHPMyAdminConfiguration
|
||||||
|
|
||||||
|
if [ ! -e "/etc/bind/ehcp-skip-recursion" ]; then
|
||||||
echo -e "Disabling BIND Recursion\n"
|
echo -e "Disabling BIND Recursion\n"
|
||||||
# Disable Bind Recursion:
|
# Disable Bind Recursion:
|
||||||
disableRecursiveBIND
|
disableRecursiveBIND
|
||||||
|
fi
|
||||||
|
|
||||||
echo -e "Securing web user against running cron jobs"
|
echo -e "Securing web user against running cron jobs"
|
||||||
# Disable web user from using cronjobs
|
# Disable web user from using cronjobs
|
||||||
|
|
|
@ -3255,7 +3255,10 @@ fixBINDPerms
|
||||||
# Fix generic problems in Ubuntu
|
# Fix generic problems in Ubuntu
|
||||||
genUbuntuFixes
|
genUbuntuFixes
|
||||||
# Secure BIND9 Configuration
|
# Secure BIND9 Configuration
|
||||||
|
if [ ! -e "/etc/bind/ehcp-skip-recursion" ]; then
|
||||||
|
# Disable Bind Recursion:
|
||||||
disableRecursiveBIND
|
disableRecursiveBIND
|
||||||
|
fi
|
||||||
# Make it so that strangers can't just browse folders without an index file
|
# Make it so that strangers can't just browse folders without an index file
|
||||||
secureApache
|
secureApache
|
||||||
# Allow .htaccess file overrides for Ubuntu 14.04 and up (hopefully versions above)
|
# Allow .htaccess file overrides for Ubuntu 14.04 and up (hopefully versions above)
|
||||||
|
|
Loading…
Reference in a new issue