summaryrefslogtreecommitdiffstats
path: root/auth2.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-14 10:27:09 +1000
committerDamien Miller <djm@mindrot.org>2003-05-14 10:27:09 +1000
commit1a27a1ee8c0ddd6f390feade92259c001f36530f (patch)
tree3b1903292c708e6665fda8489cd39bee4a2dd178 /auth2.c
parent75d3b05c57e8284389f77d6105ebc29d00875b17 (diff)
- (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",