From face2041df7c38f61752f74773b9bcd6468aff0e Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 18 Jun 2018 14:54:40 +0000 Subject: Removed old local scripts. --- local/checkauth.sh | 1 - local/listaccounts.sh | 1 - local/listauth.sh | 1 - local/sslcheck.sh | 4 ---- 4 files changed, 7 deletions(-) delete mode 100755 local/checkauth.sh delete mode 100755 local/listaccounts.sh delete mode 100755 local/listauth.sh delete mode 100755 local/sslcheck.sh diff --git a/local/checkauth.sh b/local/checkauth.sh deleted file mode 100755 index a711830..0000000 --- a/local/checkauth.sh +++ /dev/null @@ -1 +0,0 @@ -grep -E -v 'session (opened|closed) for user ' /var/log/auth.log diff --git a/local/listaccounts.sh b/local/listaccounts.sh deleted file mode 100755 index 4d1a186..0000000 --- a/local/listaccounts.sh +++ /dev/null @@ -1 +0,0 @@ -checkauth.sh | grep "Failed password for .* $1" | awk '{print $11}' | sort | uniq -c | sort -n | more diff --git a/local/listauth.sh b/local/listauth.sh deleted file mode 100755 index 83b68d4..0000000 --- a/local/listauth.sh +++ /dev/null @@ -1 +0,0 @@ -grep "session opened for user" /var/log/auth.log | awk '{print $11}' | sort | uniq -c diff --git a/local/sslcheck.sh b/local/sslcheck.sh deleted file mode 100755 index f04a6ec..0000000 --- a/local/sslcheck.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -grep "Failed password for invalid user " /var/log/auth.log | \ - awk '{print $13}' | sort | uniq -c | sort -n -- cgit v1.2.3