summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
authordjm <djm>2003-05-14 00:27:09 +0000
committerdjm <djm>2003-05-14 00:27:09 +0000
commit342dbe181e8908f043c7ca337e32397dfc707952 (patch)
tree0fa345b00254c99a4df495ee29877471fbfae52f /auth2.c
parentd23ae670b1b34b3eb799dd4a723c62d15b9ccf2e (diff)
downloadopenssh-342dbe181e8908f043c7ca337e32397dfc707952.tar.gz
- (djm) Bug #117: Don't lie to PAM about username
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth2.c b/auth2.c
index ee693181..a761ba5f 100644
--- a/auth2.c
+++ b/auth2.c
@@ -162,7 +162,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt)
} else {
logit("input_userauth_request: illegal user %s", user);
#ifdef USE_PAM
- PRIVSEP(start_pam("NOUSER"));
+ PRIVSEP(start_pam(user));
#endif
}
setproctitle("%s%s", authctxt->pw ? user : "unknown",