Lines Matching refs:pw_name
112 if (!pw || !pw->pw_name) in allowed_user()
117 spw = getspnam(pw->pw_name); in allowed_user()
157 pw->pw_name); in allowed_user()
173 "does not exist", pw->pw_name, shell); in allowed_user()
180 "is not executable", pw->pw_name, shell); in allowed_user()
196 r = match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
204 pw->pw_name, hostname); in allowed_user()
212 r = match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
223 "not listed in AllowUsers", pw->pw_name, hostname); in allowed_user()
229 if (ga_init(pw->pw_name, pw->pw_gid) == 0) { in allowed_user()
231 "not in any group", pw->pw_name, hostname); in allowed_user()
242 pw->pw_name, hostname); in allowed_user()
255 "in AllowGroups", pw->pw_name, hostname); in allowed_user()
405 "u", pw->pw_name, (char *)NULL); in expand_authorized_keys()
450 pw->pw_name, user_hostfile); in check_key_in_hostfiles()
598 pw->pw_name, file_type, file); in auth_openfile()
672 if (pw != NULL && strcmp(user, pw->pw_name) != 0) { in getpwnamallow()
674 user, pw->pw_name); in getpwnamallow()
699 auth_approval(as, lc, pw->pw_name, "ssh") <= 0) { in getpwnamallow()
797 fake.pw_name = "NOUSER"; in fakepw()