mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 07:44:14 +02:00
[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."
|
LogText "Result: GRUB has password protection."
|
||||||
AddHP 4 4
|
AddHP 4 4
|
||||||
else
|
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!"
|
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)"
|
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
|
AddHP 0 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user