tags #783695 confirmed pending thanks 81fdd78a046342e1779bffec217e841be1812dcf Use getent passwd root instead of grepping /etc/passwd diff --git a/debian/patches/Makefile b/debian/patches/Makefile index 752bf2d..17b9608 100644 --- a/debian/patches/Makefile +++ b/debian/patches/Makefile @@ -45,3 +45,12 @@ Forwarded: not-needed
#################################################################### # Solaris +@@ -75,7 +75,7 @@ APGD_MAN_DIR = /man/man8 + + # ====== YOU DO NOT NEED TO MODIFY ANYTHING BELOW THIS LINE ====== + # Find group ID for user root +-FIND_GROUP = `grep '^root:' /etc/passwd | awk -F: '{ print $$4 }'` ++FIND_GROUP = `getent passwd root | awk -F: '{ print $$4 }'` + + PROGNAME = apg + CS_PROGNAME = apgd committed.