Lines Matching refs:groups
637 /* Userids and groups can not have a leading '-'. */
658 * A `$' is allowed as the final character for userids and groups,
1080 split_groups(StringList **groups, char *groupsstr)
1088 if (*groups == NULL)
1089 *groups = sl_init();
1090 sl_add(*groups, newstr(grp->gr_name));
1151 if (cmdcnf->groups == NULL)
1152 cmdcnf->groups = cfg->groups;
1237 split_groups(&cmdcnf->groups, optarg);
1404 if (cmdcnf->groups != NULL) {
1405 for (i = 0; i < cmdcnf->groups->sl_cur; i++) {
1406 grp = GETGRNAM(cmdcnf->groups->sl_str[i]);
1486 StringList *groups = NULL;
1548 split_groups(&groups, optarg);
1739 /* Now perform the needed changes concern groups */
1740 if (groups != NULL) {
1741 /* Delete User from groups using old name */
1756 /* Add the user to the needed groups */
1757 for (i = 0; i < groups->sl_cur; i++) {
1758 grp = GETGRNAM(groups->sl_str[i]);
1766 /* In case of rename we need to walk over the different groups */