From 80a0e9ee730f67d24598859487451b0674f1f8a4 Mon Sep 17 00:00:00 2001 From: q3aql Date: Thu, 28 Mar 2024 13:07:42 +0100 Subject: [PATCH] blockauth --- blockauth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blockauth b/blockauth index 1022671..0999392 100755 --- a/blockauth +++ b/blockauth @@ -86,8 +86,8 @@ while [ ${blockauth} -eq 0 ] ; do sleep 60 # Read auth.log file and select blocked IPs for user in ${valid_users} ; do - echo "blockauth: allowing acces for ${user}" - echo "blockauth: allowing acces for ${user}" >> ${filelog} + echo "blockauth: allowing access for ${user}" + echo "blockauth: allowing access for ${user}" >> ${filelog} sed -i "s/Failed password for ${user} from/blockauth\[allowed\]\: invalid pass for ${user} from/g" /var/log/auth.log sed -i "s/Failed password for invalid user ${user} from/blockauth\[allowed\]\: invalid pass for ${user} from/g" /var/log/auth.log done