Lines Matching defs:pwent
824 &pwent->id, sizeof(pwent->id))) != 0) \
859 struct passwd *pwent;
874 pwent = getpwnamallow(ssh, authctxt->user);
876 setproctitle("%s [priv]", pwent ? authctxt->user : "unknown");
880 if (pwent == NULL) {
889 authctxt->pw = pwent;
899 if ((r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 ||
901 (r = sshbuf_put_cstring(m, pwent->pw_gecos)) != 0 ||
902 (r = sshbuf_put_cstring(m, pwent->pw_class)) != 0 ||
903 (r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 ||
904 (r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0)