From 0e80bc171e857e429017d6741f122a627b3da5f4 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Thu, 15 Jun 2017 09:39:24 +0200 Subject: [PATCH] Create ADconnection.sh --- ADconnection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 0149b4e..471edfb 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -678,7 +678,7 @@ grouPs1=$(cat /etc/sudoers.d/sudoers | grep -i $myhost | cut -d '%' -f2 | cut -d echo Checking sudoers users.. "${RED_TEXT}"FAIL"${END}" fi else -echo Checking sudoers users.. "${RED_TEXT}"FAIL"${END}" +echo Checking sudoers file.. "${RED_TEXT}"FAIL not configured"${END}" fi fi homedir=$(cat /etc/pam.d/common-session | grep homedir | grep 0022 | cut -d '=' -f3) @@ -693,7 +693,7 @@ if [ $cauth = allow ] then echo Checking PAM auth configuration.. "${INTRO_TEXT}"OK"${END}" else -echo Checking PAM auth configuration.. "${RED_TEXT}"FAIL"${END}" +echo Checking PAM auth configuration.. "${RED_TEXT}"FAIL ssh security not configured"${END}" fi realm discover exit