Lines Matching refs:pw
1171 register struct passwd *pw;
1238 while ((pw = getpwent()) != NULL)
1243 if (sm_strcasecmp(pw->pw_name, name) == 0)
1251 sm_pwfullname(pw->pw_gecos, pw->pw_name, buf, sizeof(buf));
1255 sm_dprintf("fuzzy matches %s\n", pw->pw_name);
1256 message("sending to login name %s", pw->pw_name);
1260 if (pw != NULL)
1267 if (pw == NULL)
1269 sm_mbdb_frompw(user, pw);
1752 register struct passwd *pw;
1754 pw = sm_getpwuid(st.st_uid);
1755 if (pw == NULL)
1765 pw->pw_name);
1767 sh = pw->pw_shell;
1770 if (!usershellok(pw->pw_name, sh))
1777 pw->pw_name, sh,