diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | session.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,6 @@ | |||
1 | 20011028 | 1 | 20011028 |
2 | - (djm) Avoid bug in Solaris PAM libs | 2 | - (djm) Avoid bug in Solaris PAM libs |
3 | - (djm) Disconnect if no tty and PAM reports password expired | ||
3 | 4 | ||
4 | 20011027 | 5 | 20011027 |
5 | - (tim) [configure.ac] Fixes for ReliantUNIX (don't use libucb) | 6 | - (tim) [configure.ac] Fixes for ReliantUNIX (don't use libucb) |
@@ -6777,4 +6778,4 @@ | |||
6777 | - Wrote replacements for strlcpy and mkdtemp | 6778 | - Wrote replacements for strlcpy and mkdtemp |
6778 | - Released 1.0pre1 | 6779 | - Released 1.0pre1 |
6779 | 6780 | ||
6780 | $Id: ChangeLog,v 1.1622 2001/10/28 11:33:48 djm Exp $ | 6781 | $Id: ChangeLog,v 1.1623 2001/10/28 11:34:52 djm Exp $ |
@@ -432,6 +432,9 @@ do_exec_no_pty(Session *s, const char *command) | |||
432 | #if defined(USE_PAM) | 432 | #if defined(USE_PAM) |
433 | do_pam_session(s->pw->pw_name, NULL); | 433 | do_pam_session(s->pw->pw_name, NULL); |
434 | do_pam_setcred(1); | 434 | do_pam_setcred(1); |
435 | if (is_pam_password_change_required()) | ||
436 | packet_disconnect("Password change required but no " | ||
437 | "TTY available"); | ||
435 | #endif /* USE_PAM */ | 438 | #endif /* USE_PAM */ |
436 | 439 | ||
437 | /* Fork the child. */ | 440 | /* Fork the child. */ |