Lines Matching defs:pwent
808 &pwent->id, sizeof(pwent->id))) != 0) \
843 struct passwd *pwent;
854 pwent = getpwnamallow(ssh, authctxt->user);
856 setproctitle("%s [priv]", pwent ? authctxt->user : "unknown");
860 if (pwent == NULL) {
868 authctxt->pw = pwent;
882 if ((r = sshbuf_put_cstring(m, pwent->pw_name)) != 0 ||
885 (r = sshbuf_put_cstring(m, pwent->pw_gecos)) != 0 ||
888 (r = sshbuf_put_cstring(m, pwent->pw_class)) != 0 ||
890 (r = sshbuf_put_cstring(m, pwent->pw_dir)) != 0 ||
891 (r = sshbuf_put_cstring(m, pwent->pw_shell)) != 0)