PAM sessions and conversation functions

Damien Miller djm at
Wed Sep 24 11:18:11 EST 2003

On Tue, 23 Sep 2003, Colin Watson wrote:

> In OpenSSH 3.6.1p2, pam_open_session() ran with a conversation function,
> do_pam_conversation(), that fed text to the client. In OpenSSH 3.7.1p2,
> this is no longer the case: session modules run with a conversation
> function that just returns PAM_CONV_ERR. This means that simple session
> modules whose job involves printing text on the user's terminal no
> longer work: pam_lastlog, pam_mail, and pam_motd.

If someone wants to do a patch to add a simple conversation function
that just prints messages to stdout, I will review it for inclusion.


More information about the openssh-unix-dev mailing list