summaryrefslogtreecommitdiffstats
path: root/auth2.c
diff options
context:
space:
mode:
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",