From 6fbe0e95c55ac2006d5880bafad1d6386d3c201e Mon Sep 17 00:00:00 2001 From: mboelen Date: Sat, 12 Sep 2015 15:19:21 +0200 Subject: [PATCH] Changes to comments only --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_authentication b/include/tests_authentication index 251060d1..ad24a432 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -811,11 +811,11 @@ logtext "Test: Checking umask value in /etc/profile" FIND=`grep "umask" /etc/profile | sed 's/^[ \t]*//' | grep -v "^#" | awk '{ print $2 }'` FIND2=`grep "umask" /etc/profile | sed 's/^[ \t]*//' | grep -v "^#" | awk '{ print $2 }' | wc -l` - #FIND2=`egrep "^([[:space:]])([[:tab:]])*umask" /etc/profile | awk '{ print $2 }' | wc -l` WEAK_UMASK=0 FOUND_UMASK=0 if [ "${FIND2}" = "0" ]; then logtext "Result: did not find umask in /etc/profile" + #YYY possibly weak umask elif [ "${FIND2}" = "1" ]; then logtext "Result: found umask (prefixed with spaces)" FOUND_UMASK=1