mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-24 06:14:33 +02:00
[FINT-4339] define what file to check for
This commit is contained in:
parent
b8cdb04772
commit
603d5b16a2
@ -305,7 +305,7 @@
|
|||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
FOUND=0
|
FOUND=0
|
||||||
if [ -e /sys/kernel/security/ima ]; then
|
if [ -e /sys/kernel/security/ima ]; then
|
||||||
FOUND=$(${CAT_BINARY} /sys/kernel/security/ima)
|
FOUND=$(${CAT_BINARY} /sys/kernel/security/ima/runtime_measurements_count)
|
||||||
fi
|
fi
|
||||||
if [ "${FOUND}" -ne 1 ]; then
|
if [ "${FOUND}" -ne 1 ]; then
|
||||||
LogText "Result: EVM tools found but IMA/EVM disabled"
|
LogText "Result: EVM tools found but IMA/EVM disabled"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user