- (djm) Avoid bug in Solaris PAM libs
diff --git a/ChangeLog b/ChangeLog
index 334af61..f71cfb4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/auth-pam.c b/auth-pam.c
index 2b3308a..2767eb1 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -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 @@
* 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));