From 1b7f16e314704c3e39261f9964ecae0106f724cb Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 2 May 2013 16:29:01 +0200 Subject: [PATCH] expand $bantime variable in pam jail --- root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam index a87dfd2..8d69c9d 100644 --- a/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam +++ b/root/etc/e-smith/templates/etc/fail2ban/jail.conf/30Service30pam @@ -4,5 +4,5 @@ enabled = true filter = pam-generic name = = pam-generic logpath = /var/log/secure -action = smeserver[bantime=$bantime] +action = smeserver[bantime={"$bantime"}]