mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-27 15:54:09 +02:00
Switch to array type for account_without_password
This commit is contained in:
parent
2d16c60da1
commit
28409265db
@ -916,7 +916,7 @@
|
|||||||
LogText "Result: found one or more accounts without password"
|
LogText "Result: found one or more accounts without password"
|
||||||
for I in ${FIND2}; do
|
for I in ${FIND2}; do
|
||||||
LogText "Account without password: ${I}"
|
LogText "Account without password: ${I}"
|
||||||
Report "account_without_password=${I}"
|
Report "account_without_password[]=${I}"
|
||||||
done
|
done
|
||||||
Display --indent 2 --text "- Accounts without password" --result "${STATUS_WARNING}" --color RED
|
Display --indent 2 --text "- Accounts without password" --result "${STATUS_WARNING}" --color RED
|
||||||
ReportWarning "${TEST_NO}" "Found accounts without password"
|
ReportWarning "${TEST_NO}" "Found accounts without password"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user