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
|
||||
securePHPMyAdminConfiguration
|
||||
|
||||
echo -e "Disabling BIND Recursion\n"
|
||||
# Disable Bind Recursion:
|
||||
disableRecursiveBIND
|
||||
if [ ! -e "/etc/bind/ehcp-skip-recursion" ]; then
|
||||
echo -e "Disabling BIND Recursion\n"
|
||||
# Disable Bind Recursion:
|
||||
disableRecursiveBIND
|
||||
fi
|
||||
|
||||
echo -e "Securing web user against running cron jobs"
|
||||
# Disable web user from using cronjobs
|
||||
|
|
|
@ -3255,7 +3255,10 @@ fixBINDPerms
|
|||
# Fix generic problems in Ubuntu
|
||||
genUbuntuFixes
|
||||
# Secure BIND9 Configuration
|
||||
disableRecursiveBIND
|
||||
if [ ! -e "/etc/bind/ehcp-skip-recursion" ]; then
|
||||
# Disable Bind Recursion:
|
||||
disableRecursiveBIND
|
||||
fi
|
||||
# Make it so that strangers can't just browse folders without an index file
|
||||
secureApache
|
||||
# Allow .htaccess file overrides for Ubuntu 14.04 and up (hopefully versions above)
|
||||
|
|
Loading…
Reference in a new issue