mirror of https://github.com/CISOfy/lynis.git
Update tests_kernel (#185)
Error during the process of the FIND variable.
This commit is contained in:
parent
99236b13f4
commit
3a19887972
|
@ -417,9 +417,9 @@
|
|||
LogText "Test: Checking sysctl value of fs.suid_dumpable"
|
||||
FIND=`${SYSCTLBINARY} fs.suid_dumpable 2> /dev/null | awk '{ if ($1=="fs.suid_dumpable") { print $3 } }'`
|
||||
if [ "${FIND}" = "" ]; then
|
||||
LogText "Result: value ${FIND} found"
|
||||
else
|
||||
LogText "Result: sysctl key fs.suid_dumpable not found"
|
||||
else
|
||||
LogText "Result: value ${FIND} found"
|
||||
fi
|
||||
if [ "${FIND}" = "2" ]; then
|
||||
LogText "Result: programs can dump core dump, but only readable by root (value 2, for debugging with file protection)"
|
||||
|
|
Loading…
Reference in New Issue