Lines Matching refs:pw_name
108 if (!pw || !pw->pw_name) in allowed_user()
113 spw = getspnam(pw->pw_name); in allowed_user()
153 pw->pw_name); in allowed_user()
169 "does not exist", pw->pw_name, shell); in allowed_user()
176 "is not executable", pw->pw_name, shell); in allowed_user()
192 if (match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
196 pw->pw_name, hostname); in allowed_user()
203 if (match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
209 "not listed in AllowUsers", pw->pw_name, hostname); in allowed_user()
215 if (ga_init(pw->pw_name, pw->pw_gid) == 0) { in allowed_user()
217 "not in any group", pw->pw_name, hostname); in allowed_user()
228 pw->pw_name, hostname); in allowed_user()
241 "in AllowGroups", pw->pw_name, hostname); in allowed_user()
386 "u", pw->pw_name, (char *)NULL); in expand_authorized_keys()
431 pw->pw_name, user_hostfile); in check_key_in_hostfiles()
579 pw->pw_name, file_type, file); in auth_openfile()
652 if (pw != NULL && strcmp(user, pw->pw_name) != 0) { in getpwnamallow()
654 user, pw->pw_name); in getpwnamallow()
679 auth_approval(as, lc, pw->pw_name, "ssh") <= 0) { in getpwnamallow()
777 fake.pw_name = "NOUSER"; in fakepw()