diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-14 10:27:09 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-14 10:27:09 +1000 |
commit | 1a27a1ee8c0ddd6f390feade92259c001f36530f (patch) | |
tree | 3b1903292c708e6665fda8489cd39bee4a2dd178 /auth2.c | |
parent | 75d3b05c57e8284389f77d6105ebc29d00875b17 (diff) |
- (djm) Bug #117: Don't lie to PAM about username
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |