Displaying 2 results from an estimated 2 matches for "4250887".
2001 Oct 29
2
pam_open_session w/o tty on Solaris
...ve been encountered
by others, though the specific symptoms seem to have changed a bit.
(eg http://www.castaglia.org/proftpd/doc/devel-guide/src/modules/mod_pam.c.html
contains a reference to this problem -- the first instance of PAM_TTY)
I wasn't able to find any other reference to Sun bugid 4250887 that
was mentioned in the comment, and an empty string worked for me as
well.
In any case, the following change appears to address the problem:
diff -ru openssh-2.9.9p2_orig/auth-pam.c openssh-2.9.9p2/auth-pam.c
--- openssh-2.9.9p2_orig/auth-pam.c Mon Apr 23 14:38:37 2001
+++ openssh-2.9.9p2/auth...
2001 Oct 25
6
Regarding PAM_TTY_KLUDGE and Solaris 8...
...return (PAM_SESSION_ERR);
/* sanity check on size of tty line */
if (strlen(ttyn) < sizeof("/dev/"))
return (PAM_SESSION_ERR);
later on it uses everything after the /dev/ as the short name tty to
write to lastlog.
This was part of the fix for 4250887. The fix will appear in patch
111659-03 (sparc) and 111660-03 (intel) when that patch is released.
--
Darren J Moffat