Lines Matching defs:passwd
83 extern struct passwd *privsep_pw;
99 allowed_user(struct passwd * pw)
102 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL;
121 /* grab passwd field for locked account check */
122 passwd = pw->pw_passwd;
126 passwd = get_iaf_password(pw);
128 passwd = spw->sp_pwdp;
133 if (!options.use_pam && passwd && *passwd) {
137 if (strcmp(passwd, LOCKED_PASSWD_STRING) == 0)
141 if (strncmp(passwd, LOCKED_PASSWD_PREFIX,
146 if (strstr(passwd, LOCKED_PASSWD_SUBSTR))
150 free((void *) passwd);
374 * Given a template and a passwd structure, build a filename
381 expand_authorized_keys(const char *filename, struct passwd *pw)
404 authorized_principals_file(struct passwd *pw)
413 check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host,
535 secure_filename(FILE *f, const char *file, struct passwd *pw,
550 auth_openfile(const char *file, struct passwd *pw, int strict_modes,
593 auth_openkeyfile(const char *file, struct passwd *pw, int strict_modes)
599 auth_openprincipals(const char *file, struct passwd *pw, int strict_modes)
605 struct passwd *
614 struct passwd *pw;
755 struct passwd *
758 static struct passwd fake;