diff --git a/CHANGELOG b/CHANGELOG index 5b4137a..6c9fdc6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Changed +* IS_EVOLINUXSUDOGROUP : improve sudoer directive detection + ### Deprecated ### Removed diff --git a/evocheck.sh b/evocheck.sh index faf8d6f..7bd30a5 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -754,7 +754,7 @@ check_tune2fs_m5() { check_evolinuxsudogroup() { if is_debian_stretch || is_debian_buster; then if grep -q "^evolinux-sudo:" /etc/group; then - grep -q '^%evolinux-sudo ALL=(ALL:ALL) ALL' /etc/sudoers.d/evolinux \ + grep -qE '^%evolinux-sudo +ALL ?= ?\(ALL:ALL\) ALL' /etc/sudoers.d/evolinux \ || failed "IS_EVOLINUXSUDOGROUP" "missing evolinux-sudo directive in sudoers file" fi fi