mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 07:19:22 -05:00
fix lintian warning
W: security-misc: maintainer-script-should-not-parse-etc-passwd-or-group preinst:19
This commit is contained in:
parent
d301e7f365
commit
957deac5cb
2
debian/security-misc.preinst
vendored
2
debian/security-misc.preinst
vendored
@ -16,7 +16,7 @@ true "
|
|||||||
"
|
"
|
||||||
|
|
||||||
if [ "$1" = "install" ]; then
|
if [ "$1" = "install" ]; then
|
||||||
sudo_users="$(grep '^sudo:.*$' /etc/group | cut -d: -f4)"
|
sudo_users="$(getent group sudo | cut -d: -f4)"
|
||||||
## example sudo_users:
|
## example sudo_users:
|
||||||
## user,root
|
## user,root
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user