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, 379 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) in pw_gidpolicy() argument 388 if (grname) { in pw_gidpolicy() 389 if ((grp = GETGRNAM(grname)) == NULL) { in pw_gidpolicy() 390 gid = pw_checkid(grname, GID_MAX); in pw_gidpolicy() 843 char grname[MAXLOGNAME]; in pw_user_del() local 961 strlcpy(grname, gr->gr_name, LOGNAMESIZE); in pw_user_del() 963 grname[0] = '\0'; in pw_user_del() 983 strcmp(name, grname) == 0) in pw_user_del() 1202 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()
|