Lines Matching refs:pw_entry
58 struct passwd *pw_entry, pwd;
100 if ((pw_entry = getpwnam_r(username, &pwd, buf, sizeof (buf))) == NULL)
102 if ((pw_entry = getpwuid_r(pw_entry->pw_uid, &pwd, buf,
110 if (((user_entry = getusernam(pw_entry->pw_name)) == NULL) ||
122 if (strcmp(username, pw_entry->pw_name) != 0) {
126 username, pw_entry->pw_uid, pw_entry->pw_name);
146 if ((pw_entry = getpwuid_r(uid, &pwd, buf,
150 user_entry = getusernam(pw_entry->pw_name);