Lines Matching defs:group
55 /* login_access - match username/group and host/tty with access control file */
175 /* netgroup_match - match group against machine or user */
177 static int netgroup_match(char *group, char *machine, char *user)
184 return (innetgr(group, machine, user, mydomain));
197 struct group *group;
204 * token is a group that contains the username, or if the token is the
205 * name of the user's primary group.
216 } else if ((group = getgrnam(tok)) != 0) { /* try group membership */
217 if (item->user->pw_gid == group->gr_gid)
219 for (i = 0; group->gr_mem[i]; i++)
220 if (strcasecmp(string, group->gr_mem[i]) == 0)