Lines Matching defs:username
2067 char *username;
2083 username = strsep(&names, ":");
2084 if (isdigit((unsigned char)*username) || *username == '-')
2085 pw = getpwuid(atoi(username));
2087 pw = getpwnam(username);
2093 syslog(LOG_ERR, "Unknown user: %s", username);
2099 syslog(LOG_ERR, "Too many groups for user %s", username);
2115 else if (isdigit((unsigned char)*username) || *username == '-')
2116 cr->cr_uid = atoi(username);
2118 syslog(LOG_ERR, "Unknown user: %s", username);
2123 username = strsep(&names, ":");
2124 if (isdigit((unsigned char)*username) || *username == '-') {
2125 cr->cr_groups[cr->cr_ngroups++] = atoi(username);
2127 if ((gr = getgrnam(username)) == NULL) {
2128 syslog(LOG_ERR, "Unknown group: %s", username);