mirror of https://github.com/CISOfy/lynis.git
[FINT-4334] improved process detection for lfd
This commit is contained in:
parent
7d6118f4a6
commit
fa064a824b
|
@ -201,7 +201,8 @@
|
|||
Register --test-no FINT-4334 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check lfd daemon status"
|
||||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
Display --indent 4 --text "- lfd (CSF)" --result "${STATUS_FOUND}" --color GREEN
|
||||
if IsRunning 'lfd '; then
|
||||
LogText "Test: determine lfd status"
|
||||
if IsRunning "lfd - sleeping"; then
|
||||
LogText "Result: lfd daemon is running (CSF)"
|
||||
Report "file_integrity_tool[]=csf-lfd"
|
||||
Display --indent 6 --text "- LFD (CSF) daemon" --result "${STATUS_RUNNING}" --color GREEN
|
||||
|
|
Loading…
Reference in New Issue