Upstream commit 4624e9fca1b02b64e25e8b2280a0186182ab73ba To fix SIGABRT: https://github.com/shadow-maint/shadow/issues/394 Index: shadow-4.9/src/useradd.c =================================================================== --- shadow-4.9.orig/src/useradd.c +++ shadow-4.9/src/useradd.c @@ -420,7 +420,6 @@ static void get_defaults (void) } else { def_group = grp->gr_gid; def_gname = xstrdup (grp->gr_name); - gr_free(grp); } }