Searched refs:grname (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/libexec/revnetgroup/
H A Dparse_netgroup.c79 char *grname; member in struct:__anon6986
103 strcmp(group, grouphead.grname)) {
108 grouphead.grname = (char *)
110 strcpy(grouphead.grname, group);
150 if (grouphead.grname) {
151 free(grouphead.grname);
152 grouphead.grname = (char *)0;
/freebsd-11-stable/usr.sbin/lpr/lpc/
H A Dlpc.c351 ingroup(const char *grname) argument
361 if ((gptr = getgrnam(grname)) == NULL) {
362 warnx("warning: unknown group '%s'", grname);
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_user.c78 static uid_t pw_gidpolicy(struct userconf *cnf, char *grname, char *nam,
382 pw_gidpolicy(struct userconf *cnf, char *grname, char *nam, gid_t prefer, bool dryrun) argument
391 if (grname) {
392 if ((grp = GETGRNAM(grname)) == NULL) {
393 gid = pw_checkid(grname, GID_MAX);
858 char grname[MAXLOGNAME]; local
962 strlcpy(grname, gr->gr_name, LOGNAMESIZE);
964 grname[0] = '\0';
984 strcmp(name, grname) == 0)
1191 char *gecos, *homedir, *skel, *walk, *userid, *groupid, *grname; local
1517 char *gecos, *homedir, *grname, *name, *newname, *walk, *skel, *shell; local
[all...]

Completed in 73 milliseconds