From 19bdfe55523f39f09bedc21aee1f7fd80c8cf37f Mon Sep 17 00:00:00 2001 From: Ryan Chase Date: Wed, 5 Feb 2025 07:27:28 -0800 Subject: [PATCH] Update AUTH-9252 Changes AUTH-9252 to allow files in sudoers.d to not have execute permissions. --- include/tests_authentication | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tests_authentication b/include/tests_authentication index 9a33cea1d..75f66e47c 100644 --- a/include/tests_authentication +++ b/include/tests_authentication @@ -586,7 +586,7 @@ FIND2=$(${LSBINARY} -lnd ${SUDOERS_D} | ${AWKBINARY} '{print $3$4}') LogText "Result: Found directory permissions: ${FIND} and owner UID GID: ${FIND2}" case "${FIND}" in - rwx[r-][w-][x-]--- ) + rw[x-][r-][w-][x-]--- ) LogText "Result: directory ${SUDOERS_D} permissions OK" if [ "${FIND2}" = "00" ]; then LogText "Result: directory ${SUDOERS_D} ownership OK"