mirror of https://github.com/CISOfy/lynis.git
[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
|
||||
FOUND=0
|
||||
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
|
||||
if [ "${FOUND}" -ne 1 ]; then
|
||||
LogText "Result: EVM tools found but IMA/EVM disabled"
|
||||
|
|
Loading…
Reference in New Issue