diff options
author | Damien Miller <djm@mindrot.org> | 2002-02-14 20:39:49 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-02-14 20:39:49 +1100 |
commit | 72476d4b24afb0a03e99c75427cfbd63d243bc12 (patch) | |
tree | 350524a265d46942b278f140641cada8fecb11b6 /auth1.c | |
parent | d054b07cc9d01a8891a48877e236f5aad552f9da (diff) |
- (djm) Bug #114 - not starting PAM for SSH protocol 1 invalid users
Diffstat (limited to 'auth1.c')
-rw-r--r-- | auth1.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -395,8 +395,7 @@ do_authentication(void) | |||
395 | setproctitle("%s", pw ? user : "unknown"); | 395 | setproctitle("%s", pw ? user : "unknown"); |
396 | 396 | ||
397 | #ifdef USE_PAM | 397 | #ifdef USE_PAM |
398 | if (pw) | 398 | start_pam(pw == NULL ? "NOUSER" : user); |
399 | start_pam(user); | ||
400 | #endif | 399 | #endif |
401 | 400 | ||
402 | /* | 401 | /* |