summaryrefslogtreecommitdiff
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 ee6931810..a761ba5fa 100644
--- a/auth2.c
+++ b/auth2.c
@@ -162,7 +162,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt)
162 } else { 162 } else {
163 logit("input_userauth_request: illegal user %s", user); 163 logit("input_userauth_request: illegal user %s", user);
164#ifdef USE_PAM 164#ifdef USE_PAM
165 PRIVSEP(start_pam("NOUSER")); 165 PRIVSEP(start_pam(user));
166#endif 166#endif
167 } 167 }
168 setproctitle("%s%s", authctxt->pw ? user : "unknown", 168 setproctitle("%s%s", authctxt->pw ? user : "unknown",