mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-28 16:24:13 +02:00
Cleanup of screen output, with focus on minimum output
This commit is contained in:
parent
a1095ef941
commit
c70f3e93cd
@ -109,7 +109,7 @@
|
|||||||
Display --indent 2 --text "- Checking NTP client in crontab file (${I})" --result FOUND --color GREEN
|
Display --indent 2 --text "- Checking NTP client in crontab file (${I})" --result FOUND --color GREEN
|
||||||
logtext "Result: found ntpdate or rdate reference in crontab file ${I}"
|
logtext "Result: found ntpdate or rdate reference in crontab file ${I}"
|
||||||
else
|
else
|
||||||
Display --indent 2 --text "- Checking NTP client in crontab file (${I})" --result "NOT FOUND" --color WHITE
|
#Display --indent 2 --text "- Checking NTP client in crontab file (${I})" --result "NOT FOUND" --color WHITE
|
||||||
logtext "Result: no ntpdate or rdate reference found in crontab file ${I}"
|
logtext "Result: no ntpdate or rdate reference found in crontab file ${I}"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@ -148,7 +148,7 @@
|
|||||||
Display --indent 2 --text "- Checking NTP client in cron files" --result FOUND --color GREEN
|
Display --indent 2 --text "- Checking NTP client in cron files" --result FOUND --color GREEN
|
||||||
logtext "Result: found ntpdate or rdate in cron directory"
|
logtext "Result: found ntpdate or rdate in cron directory"
|
||||||
else
|
else
|
||||||
Display --indent 2 --text "- Checking NTP client in cron.d files" --result "NOT FOUND" --color WHITE
|
#Display --indent 2 --text "- Checking NTP client in cron.d files" --result "NOT FOUND" --color WHITE
|
||||||
logtext "Result: no ntpdate or rdate found in cron directories"
|
logtext "Result: no ntpdate or rdate found in cron directories"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -433,6 +433,8 @@
|
|||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
|
# For VMs check ntpd.conf : tinker panic 0
|
||||||
|
#
|
||||||
|
|
||||||
wait_for_keypress
|
wait_for_keypress
|
||||||
|
|
||||||
@ -458,4 +460,4 @@ wait_for_keypress
|
|||||||
|
|
||||||
#
|
#
|
||||||
#================================================================================
|
#================================================================================
|
||||||
# Lynis - Copyright 2007-2015, Michael Boelen - www.rootkit.nl - The Netherlands
|
# Lynis - Copyright 2007-2015, CISOfy - https://cisofy.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user