diff --git a/debian/security-misc.preinst b/debian/security-misc.preinst index 45e4193..523c094 100644 --- a/debian/security-misc.preinst +++ b/debian/security-misc.preinst @@ -16,7 +16,7 @@ true " " if [ "$1" = "install" ]; then - sudo_users="$(grep '^sudo:.*$' /etc/group | cut -d: -f4)" + sudo_users="$(getent group sudo | cut -d: -f4)" ## example sudo_users: ## user,root