]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Convert pam_lastlog(8) to libulog.
authored <ed@FreeBSD.org>
Fri, 11 Dec 2009 14:15:55 +0000 (14:15 +0000)
committered <ed@FreeBSD.org>
Fri, 11 Dec 2009 14:15:55 +0000 (14:15 +0000)
commitcaa83cf2554dc1a3ec427400b1adf64486f4afb9
tree5952c7825f6457babba4605c312f4371dd484e74
parentc5db4e0d33d83745ec06536afa3f6ebef01b81c6
Convert pam_lastlog(8) to libulog.

The information used by the "Last login:"-line is obtained by using
ulog_setutxfile(3) to switch to the lastlog database. Login and logout
are performed using the utility functions ulog_login(3) and
ulog_logout(3).

This also means we must build libulog during bootstrap.

Approved by: des
Makefile.inc1
lib/Makefile
lib/libpam/modules/pam_lastlog/Makefile
lib/libpam/modules/pam_lastlog/pam_lastlog.c