Marc Haber wrote:
> # This need to be fixed
> if(system("grep", "-q", "^.*:.*:.*:$gr_gid:.*:.*:.*\$", "/etc/passwd") == 0) {
> dief (_("There are users having %s' as primary group!\n"),$group);
> }
>
> Can you explain the comment? Do you mean that this needs to be
> rewritten using getpwent?
Yes, definitely. I don't remember though, why that's not the case.
Roland