From bed8d9d59a287a40e17ccf2b11c2c19ad5c41164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S?= Date: Fri, 5 Jul 2019 10:22:38 +0200 Subject: [PATCH] check_sshpermitrootno: same check for buster as stretch --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index cf3bf3f..54255f7 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -1053,7 +1053,7 @@ check_usrsharescripts() { test "$expected" = "$actual" || failed "IS_USRSHARESCRIPTS" } check_sshpermitrootno() { - if is_debian_stretch; then + if is_debian_stretch || is_debian_buster; then if grep -q "^PermitRoot" /etc/ssh/sshd_config; then grep -E -qi "PermitRoot.*no" /etc/ssh/sshd_config || failed "IS_SSHPERMITROOTNO" fi