aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/unix_update.c
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2012-04-17 14:05:24 +0200
committerTomas Mraz <tmraz@fedoraproject.org>2012-04-17 14:05:24 +0200
commit791dec4305054de2a5f994a9a4e475079b7b7a9c (patch)
tree4477ed546c271f68fa597acde71fda71b6296bc3 /modules/pam_unix/unix_update.c
parent1329c68b19daa6d5793dd672db73ebe85465eea9 (diff)
downloadpam-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/unix_update.c')
0 files changed, 0 insertions, 0 deletions