- (djm) Avoid bug in Solaris PAM libs

This commit is contained in:
Damien Miller 2001-10-28 22:33:48 +11:00
parent ffdf4aa10f
commit 33cdd9ee7b
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
20011028
- (djm) Avoid bug in Solaris PAM libs
20011027
- (tim) [configure.ac] Fixes for ReliantUNIX (don't use libucb)
Patch by Robert Dahlem <Robert.Dahlem@siemens.com>
@ -6774,4 +6777,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1621 2001/10/27 17:45:36 tim Exp $
$Id: ChangeLog,v 1.1622 2001/10/28 11:33:48 djm Exp $

View File

@ -35,7 +35,7 @@
extern char *__progname;
RCSID("$Id: auth-pam.c,v 1.37 2001/04/23 18:38:37 stevesk Exp $");
RCSID("$Id: auth-pam.c,v 1.38 2001/10/28 11:33:48 djm Exp $");
#define NEW_AUTHTOK_MSG \
"Warning: Your password has expired, please change it now"
@ -374,7 +374,7 @@ void start_pam(const char *user)
* not even need one (for tty-less connections)
* Kludge: Set a fake PAM_TTY
*/
pam_retval = pam_set_item(__pamh, PAM_TTY, "ssh");
pam_retval = pam_set_item(__pamh, PAM_TTY, "NODEVssh");
if (pam_retval != PAM_SUCCESS)
fatal("PAM set tty failed[%d]: %.200s",
pam_retval, PAM_STRERROR(__pamh, pam_retval));