Lines Matching defs:group
384 struct group *grp;
404 * We need to auto-create a group with the user's name. We
406 * bit first see if we can create a group with gid==uid so we
407 * can keep the user and group ids in sync. We purposely do
409 * user's name dups an existing group, then the group add
554 struct group *grp = GETGRGID(pwd->pw_gid);
638 /* See if the name is valid as a userid or group. */
640 showtype = "userid/group name";
856 struct group *gr, *grp;
989 char group[MAXLOGNAME];
999 strlcpy(group, grp->gr_name, MAXLOGNAME);
1000 chggrent(group, grp);
1064 static struct group *
1068 struct group *grp;
1074 errx(EX_NOUSER, "group `%s' does not exist", name);
1077 errx(EX_NOUSER, "group `%s' does not exist", name);
1086 struct group *grp;
1099 validate_grname(struct userconf *cnf, char *group)
1101 struct group *grp;
1103 if (group == NULL || *group == '\0') {
1107 grp = group_from_name_or_id(group);
1187 struct group *grp;
1513 struct group *grp;