diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2018-12-11 09:08:20 +0100 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2018-12-20 13:54:17 +0100 |
commit | 1daa323234982df4d7bbb8a13d4eb447106657d1 (patch) | |
tree | db1bd94f31801dfc86eae8ac41d584c2b09017d8 /modules/pam_unix/pam_unix_acct.c | |
parent | 00b38702c70ad3847a2b3d38930a6a390df81645 (diff) | |
download | pam-1daa323234982df4d7bbb8a13d4eb447106657d1.tar.gz pam-1daa323234982df4d7bbb8a13d4eb447106657d1.tar.bz2 pam-1daa323234982df4d7bbb8a13d4eb447106657d1.zip |
pam_lastlog: Limit lastlog file use by LASTLOG_UID_MAX option in login.defs.
* modules/pam_lastlog/pam_lastlog.8.xml: Add the documentation of the
LASTLOG_UID_MAX option.
* modules/pam_lastlog/pam_lastlog.c: New function get_lastlog_uid_max().
(last_login_date): Check the uid against the get_lastlog_uid_max().
(pam_authenticate): Likewise.
Diffstat (limited to 'modules/pam_unix/pam_unix_acct.c')
0 files changed, 0 insertions, 0 deletions