2.9.9p2 bug in PAM support

Brent A Nelson
2001-09-28T20:24:53Z

With OpenSSH 2.9.9p2 as the server, I'm not able to do scp or "ssh
machinename command"  in general to any of my Suns!

I tracked this down a bit; the problem occurs only when PAM support is
enabled.  However, if I remove line 430 of session.c,
"do_pam_session(s->pw->pw_name, NULL);" inside of
do_exec_no_pty, the
problem goes away.

It looks like the following entry in the Changelog may be responsible:

	20010627
	 - (djm) Reintroduce pam_session call for non-pty sessions.

Let me know if you need any additional info to track this down.

Thanks,

Brent Nelson
Director of Computing
Dept. of Physics
University of Florida