summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-10-28 22:33:48 +1100
committerDamien Miller <djm@mindrot.org>2001-10-28 22:33:48 +1100
commit33cdd9ee7b9261cd3cc8e35fd21f3676eeb12cbe (patch)
tree44667c4111d68266bf23c02d4cc8263a82d47924
parentffdf4aa10f59d540003b17877d174982ef3cfe43 (diff)
- (djm) Avoid bug in Solaris PAM libs
-rw-r--r--ChangeLog5
-rw-r--r--auth-pam.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 334af61c..f71cfb4d 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 2b3308a9..2767eb15 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 @@ 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));