Lines Matching refs:pw
298 struct passwd *pw; /* password entry holder */
313 if ((pw = getpwuid(uid)) == NULL) {
326 || (! strcasecmp(AP_HTTPD_USER, pw->pw_name)))
328 || (! strcmp(AP_HTTPD_USER, pw->pw_name)))
378 if (strcasecmp(AP_HTTPD_USER, pw->pw_name)) {
379 log_err("user mismatch (%s instead of %s)\n", pw->pw_name, AP_HTTPD_USER);
383 if (strcmp(AP_HTTPD_USER, pw->pw_name)) {
384 log_err("user mismatch (%s instead of %s)\n", pw->pw_name, AP_HTTPD_USER);
415 if ((pw = getpwnam(target_uname)) == NULL) {
421 if ((pw = getpwuid(atoi(target_uname))) == NULL) {
478 uid = pw->pw_uid;
479 actual_uname = strdup(pw->pw_name);
480 target_homedir = strdup(pw->pw_dir);