mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-24 22:34:33 +02:00
[FILE-6362] added details
This commit is contained in:
parent
e3af7c3727
commit
cc5142329b
@ -363,7 +363,7 @@
|
|||||||
FIND=$(${LSBINARY} -ld /tmp | ${AWKBINARY} '$1 ~ /[tT]/ { print 1 }')
|
FIND=$(${LSBINARY} -ld /tmp | ${AWKBINARY} '$1 ~ /[tT]/ { print 1 }')
|
||||||
if [ "${FIND}" = "1" ]; then
|
if [ "${FIND}" = "1" ]; then
|
||||||
Display --indent 2 --text "- Checking /tmp sticky bit" --result "${STATUS_OK}" --color GREEN
|
Display --indent 2 --text "- Checking /tmp sticky bit" --result "${STATUS_OK}" --color GREEN
|
||||||
LogText "Result: Sticky bit (${FIND}) found on /tmp directory"
|
LogText "Result: sticky bit found on /tmp directory"
|
||||||
AddHP 3 3
|
AddHP 3 3
|
||||||
else
|
else
|
||||||
Display --indent 2 --text "- Checking /tmp sticky bit" --result "${STATUS_WARNING}" --color RED
|
Display --indent 2 --text "- Checking /tmp sticky bit" --result "${STATUS_WARNING}" --color RED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user