evocheck: upstream release 22.07.1
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
continuous-integration/drone/push Build is passing

This commit is contained in:
Jérémy Lecour 2022-07-28 14:18:12 +02:00 committed by Jérémy Lecour
parent 0f899dcd09
commit 6c33e11d5f
2 changed files with 8 additions and 6 deletions

View file

@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Changed ### Changed
* evocheck: upstream release 22.07.1
### Fixed ### Fixed
### Removed ### Removed

View file

@ -1226,18 +1226,18 @@ check_usrsharescripts() {
check_sshpermitrootno() { check_sshpermitrootno() {
sshd_args="-C addr=,user=,host=,laddr=,lport=0" sshd_args="-C addr=,user=,host=,laddr=,lport=0"
if is_debian_jessie || is_debian_stretch; then if is_debian_jessie || is_debian_stretch; then
# Noop, we'll use the default $sshd_args # Noop, we'll use the default $sshd_args
: :
elif is_debian_buster; then elif is_debian_buster; then
sshd_args="${sshd_args},rdomain=" sshd_args="${sshd_args},rdomain="
else else
# NOTE: From Debian Bullseye 11 onward, with OpenSSH 8.1, the argument # NOTE: From Debian Bullseye 11 onward, with OpenSSH 8.1, the argument
# -T doesn't require the additional -C. # -T doesn't require the additional -C.
sshd_args= sshd_args=
fi fi
# shellcheck disable=SC2086 # shellcheck disable=SC2086
if ! (sshd -T ${sshd_args} | grep -q 'permitrootlogin no'); then if ! (sshd -T ${sshd_args} 2> /dev/null | grep -qi 'permitrootlogin no'); then
failed "IS_SSHPERMITROOTNO" "PermitRoot should be set to no" failed "IS_SSHPERMITROOTNO" "PermitRoot should be set to no"
fi fi
} }
check_evomaintenanceusers() { check_evomaintenanceusers() {