diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d336a9d..51959413 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * redis: replace errorneous ini_file module for Munin config, fix dedicted Munin config filename (z-XXX). * evolinux-base, evolinux-users: Fix files mode under /etc/ssh/sshd_config.d * evolinux-base: Fix file extension +* evocheck: Fix IS_SSHALLOWUSERS condition ### Removed diff --git a/evocheck/files/evocheck.sh b/evocheck/files/evocheck.sh index d97020e7..65a26a3e 100755 --- a/evocheck/files/evocheck.sh +++ b/evocheck/files/evocheck.sh @@ -235,7 +235,7 @@ check_sshallowusers() { grep -E -qir "(AllowUsers|AllowGroups)" /etc/ssh/sshd_config.d \ || failed "IS_SSHALLOWUSERS" "missing AllowUsers or AllowGroups directive in sshd_config.d/*" grep -E -qir "(AllowUsers|AllowGroups)" /etc/ssh/sshd_config \ - || failed "IS_SSHALLOWUSERS" "AllowUsers or AllowGroups directive present in sshd_config" + && failed "IS_SSHALLOWUSERS" "AllowUsers or AllowGroups directive present in sshd_config" else grep -E -qir "(AllowUsers|AllowGroups)" /etc/ssh/sshd_config /etc/ssh/sshd_config.d \ || failed "IS_SSHALLOWUSERS" "missing AllowUsers or AllowGroups directive in sshd_config"