Lines Matching refs:pw_name
105 if (!pw || !pw->pw_name) in allowed_user()
110 spw = getspnam(pw->pw_name); in allowed_user()
150 pw->pw_name); in allowed_user()
166 "does not exist", pw->pw_name, shell); in allowed_user()
173 "is not executable", pw->pw_name, shell); in allowed_user()
189 if (match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
193 pw->pw_name, hostname); in allowed_user()
200 if (match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
206 "not listed in AllowUsers", pw->pw_name, hostname); in allowed_user()
212 if (ga_init(pw->pw_name, pw->pw_gid) == 0) { in allowed_user()
214 "not in any group", pw->pw_name, hostname); in allowed_user()
225 pw->pw_name, hostname); in allowed_user()
238 "in AllowGroups", pw->pw_name, hostname); in allowed_user()
341 "u", pw->pw_name, (char *)NULL); in expand_authorized_keys()
386 pw->pw_name, user_hostfile); in check_key_in_hostfiles()
511 pw->pw_name, file_type, file); in auth_openfile()
575 if (pw != NULL && strcmp(user, pw->pw_name) != 0) { in getpwnamallow()
577 user, pw->pw_name); in getpwnamallow()
602 auth_approval(as, lc, pw->pw_name, "ssh") <= 0) { in getpwnamallow()
690 fake.pw_name = "NOUSER"; in fakepw()