Lines Matching refs:group
62 const char *group, *user;
70 struct group *grp;
97 /* get regulating group */
98 if ((group = openpam_get_option(pamh, "group")) == NULL) {
99 group = "wheel";
100 openpam_log(PAM_LOG_DEBUG, "With no group specfified, I am defaulting to wheel.");
103 str1 = str = strdup(group);
108 /* check if the group is empty */
125 openpam_log(PAM_LOG_DEBUG, "The specified group (%s) could not be found.", group);
129 if ((grp = getgrnam(group)) == NULL || grp->gr_mem == NULL) {
130 openpam_log(PAM_LOG_DEBUG, "The specified group (%s) is NULL.", group);
134 /* check if the group is empty */
136 openpam_log(PAM_LOG_DEBUG, "The specified group (%s) is empty.", group);
149 openpam_log(PAM_LOG_DEBUG, "The group check failed.");
157 openpam_log(PAM_LOG_DEBUG, "The group check succeeded.");