Lines Matching refs:passwd
82 extern struct passwd *privsep_pw;
98 allowed_user(struct passwd * pw) in allowed_user()
101 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; in allowed_user() local
121 passwd = pw->pw_passwd; in allowed_user()
125 passwd = get_iaf_password(pw); in allowed_user()
127 passwd = spw->sp_pwdp; in allowed_user()
132 if (!options.use_pam && passwd && *passwd) { in allowed_user()
136 if (strcmp(passwd, LOCKED_PASSWD_STRING) == 0) in allowed_user()
140 if (strncmp(passwd, LOCKED_PASSWD_PREFIX, in allowed_user()
145 if (strstr(passwd, LOCKED_PASSWD_SUBSTR)) in allowed_user()
149 free((void *) passwd); in allowed_user()
378 expand_authorized_keys(const char *filename, struct passwd *pw) in expand_authorized_keys()
401 authorized_principals_file(struct passwd *pw) in authorized_principals_file()
411 check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host, in check_key_in_hostfiles()
542 secure_filename(FILE *f, const char *file, struct passwd *pw, in secure_filename()
557 auth_openfile(const char *file, struct passwd *pw, int strict_modes, in auth_openfile()
600 auth_openkeyfile(const char *file, struct passwd *pw, int strict_modes) in auth_openkeyfile()
606 auth_openprincipals(const char *file, struct passwd *pw, int strict_modes) in auth_openprincipals()
612 struct passwd *
621 struct passwd *pw; in getpwnamallow()
762 struct passwd *
765 static struct passwd fake; in fakepw()