From 957deac5cb1e3fdf54990bad21c502388af2407e Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Fri, 18 Oct 2019 10:38:25 +0000 Subject: [PATCH] fix lintian warning W: security-misc: maintainer-script-should-not-parse-etc-passwd-or-group preinst:19 --- debian/security-misc.preinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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