Lines Matching defs:groups
43 * groups - show group memberships
71 "groups: could not get configuration info\n");
81 (void) fprintf(stderr, "groups: No passwd entry\n");
90 "groups: %s : No such user\n", *argv);
107 static gid_t *groups = NULL;
111 if (groups == NULL) {
112 if ((groups = (gid_t *)calloc((uint_t)ngroups_max,
120 groups[0] = pw->pw_gid;
122 ngroups = _getgroupsbymember(pw->pw_name, groups, ngroups_max, 1);
124 if (gr = getgrgid(groups[0]))
130 if ((gr = getgrgid(groups[i])))
133 (void) printf(" %d", (int)groups[i]);