mirror of https://github.com/CISOfy/lynis.git
[BOOT-5122] don't use WARNING, but show NONE if no protection is implemented
This commit is contained in:
parent
e33ca1ec58
commit
ec4d89b978
|
@ -332,7 +332,7 @@
|
|||
LogText "Result: GRUB has password protection."
|
||||
AddHP 4 4
|
||||
else
|
||||
Display --indent 4 --text "- Checking for password protection" --result "${STATUS_WARNING}" --color RED
|
||||
Display --indent 4 --text "- Checking for password protection" --result "${STATUS_NONE}" --color RED
|
||||
LogText "Result: Didn't find hashed password line in GRUB boot file!"
|
||||
ReportSuggestion ${TEST_NO} "Set a password on GRUB bootloader to prevent altering boot configuration (e.g. boot in single user mode without password)"
|
||||
AddHP 0 2
|
||||
|
|
Loading…
Reference in New Issue