Searched refs:grname (Results 1 – 3 of 3) sorted by relevance
/freebsd/libexec/revnetgroup/ |
H A D | parse_netgroup.c | 76 char *grname; member 100 strcmp(group, grouphead.grname)) { in __setnetgrent() 105 grouphead.grname = (char *) in __setnetgrent() 107 strcpy(grouphead.grname, group); in __setnetgrent() 147 if (grouphead.grname) { in __endnetgrent() 148 free(grouphead.grname); in __endnetgrent() 149 grouphead.grname = (char *)0; in __endnetgrent()
|
/freebsd/usr.sbin/pw/ |
H A D | pw_user.c | 75 static uid_t pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, 361 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) in pw_gidpolicy() argument 370 if (grname) { in pw_gidpolicy() 371 if ((grp = GETGRNAM(grname)) == NULL) { in pw_gidpolicy() 372 gid = pw_checkid(grname, GID_MAX); in pw_gidpolicy() 825 char grname[MAXLOGNAME]; in pw_user_del() local 943 strlcpy(grname, gr->gr_name, LOGNAMESIZE); in pw_user_del() 945 grname[0] = '\0'; in pw_user_del() 965 strcmp(name, grname) == 0) in pw_user_del() 1184 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; in pw_user_add() local [all …]
|
/freebsd/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 339 ingroup(const char *grname) in ingroup() argument 349 if ((gptr = getgrnam(grname)) == NULL) { in ingroup() 350 warnx("warning: unknown group '%s'", grname); in ingroup()
|