diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-08-22 01:16:47 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-08-22 01:16:47 +0300 |
commit | edccf4a7e196762dd973f3701e217c5f7d743eb3 (patch) | |
tree | 77a7b554afc67232566baff26c20fe5318fde125 | |
parent | 5e711e9ffd8f38928481981be8312f03393d1147 (diff) |
fix fail2ban with stretchv0.24.1
-rw-r--r-- | etc/nextcloudpi-config.d/fail2ban.sh | 1 | ||||
-rwxr-xr-x | update.sh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/etc/nextcloudpi-config.d/fail2ban.sh b/etc/nextcloudpi-config.d/fail2ban.sh index 905916a1..d077fed8 100644 --- a/etc/nextcloudpi-config.d/fail2ban.sh +++ b/etc/nextcloudpi-config.d/fail2ban.sh @@ -34,6 +34,7 @@ install() apt-get update apt-get install fail2ban -y update-rc.d fail2ban disable + rm -f /etc/fail2ban/jail.d/defaults-debian.conf } configure() @@ -116,6 +116,9 @@ EOF # fix permissions for ncp-web: shutdown button sed -i 's|www-data.*|www-data ALL = NOPASSWD: /home/www/ncp-launcher.sh , /sbin/halt|' /etc/sudoers +# fix fail2ban misconfig in stretch +rm -f /etc/fail2ban/jail.d/defaults-debian.conf + # License # # This script is free software; you can redistribute it and/or modify it |