]> granicus.if.org Git - shadow/commit
Add ability to clear or set lastlog record for user via lastlog command
authorTomas Mraz <tmraz@fedoraproject.org>
Thu, 3 Mar 2016 14:37:01 +0000 (15:37 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Thu, 3 Mar 2016 14:37:01 +0000 (15:37 +0100)
commit66897b6f6d92dd57be9ab3ef9c20706dae90459c
tree49973b9efd6e36505e619ed8d92779b7473f99f2
parentaf064545bfa83c9ff5e52f6f2b9e7e2e7aa20138
Add ability to clear or set lastlog record for user via lastlog command

This functionality is useful because there is now a feature
of Linux-PAM's pam_lastlog module to block expired users (users
which did not login recently enough) from login. This commit
complements it so the sysadmin is able to unblock such expired user.

Signed-off-by: Tomáš Mráz <tmraz@fedoraproject.org>
man/lastlog.8.xml
src/Makefile.am
src/lastlog.c