From 1878f8dd10bb152e6621d3f28a5664a4661077b5 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 2 May 2018 09:38:53 +0000 Subject: Added local admin scripts --- local/listauth.sh | 1 + 1 file changed, 1 insertion(+) create mode 100755 local/listauth.sh (limited to 'local/listauth.sh') diff --git a/local/listauth.sh b/local/listauth.sh new file mode 100755 index 0000000..83b68d4 --- /dev/null +++ b/local/listauth.sh @@ -0,0 +1 @@ +grep "session opened for user" /var/log/auth.log | awk '{print $11}' | sort | uniq -c -- cgit v1.2.3