pam_lastlog not supported?

Dan White dwhite at olp.net
Fri Sep 30 15:36:28 EDT 2011


On 30/09/11 16:05 -0300, francis picabia wrote:
>I saw a reference in an older question to pam_lastlog.
>This would be very useful for pruning out unused accounts.
>
>I'm using saslauthd, and it points to PAM.
>In /etc/pam.d/imap I add:
>
>session     required	  pam_lastlog.so silent
>
>This is the only entry I have for session.
>Then login by imap and try last command - nothing new showing.
>
>Am I doing this wrong or is it not supported?

saslauthd does not call pam_open_session or pam_sm_open_session, which is
probably required for pam_lastlog to act.

-- 
Dan White


More information about the Info-cyrus mailing list