Update AUTH-9252

Changes AUTH-9252 to allow files in sudoers.d to not have execute permissions.
This commit is contained in:
Ryan Chase 2025-02-05 07:27:28 -08:00 committed by GitHub
parent 4f7a333a35
commit 19bdfe5552
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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"