mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-05 13:04:34 +02:00
Update AUTH-9252
Changes AUTH-9252 to allow files in sudoers.d to not have execute permissions.
This commit is contained in:
parent
4f7a333a35
commit
19bdfe5552
@ -586,7 +586,7 @@
|
|||||||
FIND2=$(${LSBINARY} -lnd ${SUDOERS_D} | ${AWKBINARY} '{print $3$4}')
|
FIND2=$(${LSBINARY} -lnd ${SUDOERS_D} | ${AWKBINARY} '{print $3$4}')
|
||||||
LogText "Result: Found directory permissions: ${FIND} and owner UID GID: ${FIND2}"
|
LogText "Result: Found directory permissions: ${FIND} and owner UID GID: ${FIND2}"
|
||||||
case "${FIND}" in
|
case "${FIND}" in
|
||||||
rwx[r-][w-][x-]--- )
|
rw[x-][r-][w-][x-]--- )
|
||||||
LogText "Result: directory ${SUDOERS_D} permissions OK"
|
LogText "Result: directory ${SUDOERS_D} permissions OK"
|
||||||
if [ "${FIND2}" = "00" ]; then
|
if [ "${FIND2}" = "00" ]; then
|
||||||
LogText "Result: directory ${SUDOERS_D} ownership OK"
|
LogText "Result: directory ${SUDOERS_D} ownership OK"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user