diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2012-04-17 14:05:24 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2012-04-17 14:05:24 +0200 |
commit | 791dec4305054de2a5f994a9a4e475079b7b7a9c (patch) | |
tree | 4477ed546c271f68fa597acde71fda71b6296bc3 /modules/pam_unix/pam_unix_acct.c | |
parent | 1329c68b19daa6d5793dd672db73ebe85465eea9 (diff) | |
download | pam-791dec4305054de2a5f994a9a4e475079b7b7a9c.tar.gz pam-791dec4305054de2a5f994a9a4e475079b7b7a9c.tar.bz2 pam-791dec4305054de2a5f994a9a4e475079b7b7a9c.zip |
pam_lastlog: add possibility to lock out inactive users in auth or account
* modules/pam_lastlog/pam_lastlog.8.xml: Document the new functionality and
option.
* modules/pam_lastlog/pam_lastlog.c: Add the inactive user lock out.
(_pam_session_parse): Renamed from _pam_parse.
(_pam_auth_parse): New function to parse auth arguments.
(_last_login_open): Factor out opening of the lastlog file.
(_last_login_read): Factor out opening of the lastlog file.
(pam_sm_authenticate): Implement the lockout functionality.
(pam_sm_setcred): Just return PAM_SUCCESS.
(pam_sm_acct_mgmt): Call pam_sm_authenticate().
Diffstat (limited to 'modules/pam_unix/pam_unix_acct.c')
0 files changed, 0 insertions, 0 deletions