Lines Matching refs:passwd
84 extern struct passwd *privsep_pw;
100 allowed_user(struct passwd * pw) in allowed_user()
104 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; in allowed_user() local
125 passwd = pw->pw_passwd; in allowed_user()
129 passwd = get_iaf_password(pw); in allowed_user()
131 passwd = spw->sp_pwdp; in allowed_user()
136 if (!options.use_pam && passwd && *passwd) { in allowed_user()
140 if (strcmp(passwd, LOCKED_PASSWD_STRING) == 0) in allowed_user()
144 if (strncmp(passwd, LOCKED_PASSWD_PREFIX, in allowed_user()
149 if (strstr(passwd, LOCKED_PASSWD_SUBSTR)) in allowed_user()
153 free((void *) passwd); in allowed_user()
399 expand_authorized_keys(const char *filename, struct passwd *pw) in expand_authorized_keys()
422 authorized_principals_file(struct passwd *pw) in authorized_principals_file()
431 check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host, in check_key_in_hostfiles()
562 secure_filename(FILE *f, const char *file, struct passwd *pw, in secure_filename()
577 auth_openfile(const char *file, struct passwd *pw, int strict_modes, in auth_openfile()
620 auth_openkeyfile(const char *file, struct passwd *pw, int strict_modes) in auth_openkeyfile()
626 auth_openprincipals(const char *file, struct passwd *pw, int strict_modes) in auth_openprincipals()
632 struct passwd *
642 struct passwd *pw; in getpwnamallow()
791 struct passwd *
794 static struct passwd fake; in fakepw()