Home | History | Annotate | Download | only in pam_login_access

Lines Matching defs:group

57 /* login_access - match username/group and host/tty with access control file */
164 /* netgroup_match - match group against machine or user */
167 netgroup_match(const char *group __unused,
179 struct group grres, *group;
186 * the token is a group that contains the username.
193 } else if (getgrnam_r(tok, &grres, grbuf, sizeof(grbuf), &group) == 0 &&
194 group != NULL) {/* try group membership */
195 for (i = 0; group->gr_mem[i]; i++)
196 if (strcasecmp(string, group->gr_mem[i]) == 0)