[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: pam_lastlog not supported?
From:       Dan White <dwhite () olp ! net>
Date:       2011-09-30 19:36:28
Message-ID: 20110930193627.GB5378 () dan ! olp ! net
[Download RAW message or body]

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
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic