pam_get_data / pam_set_data does not work if used if sshd

Kala B kalabalun at gmail.com
Sat Apr 23 06:42:25 UTC 2005


Hi,
I have a PAM module which I use with /etc/pam.d/sshd. I do a
pam_set_data() in the auth stack and do a pam_get_data() in the
open_session call. But pam_get_data() returns "No module specific data
is present". The same module when used with say, /etc/pam.d/login
works fine. I checked that the pamhandle is the same. So, ideally it
should contain the data.

Is this problem specific to sshd or PAM? 


Can you please guide me.
Thanks & Regards
Kala




More information about the Pam-list mailing list