1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/lib/libpam/modules/pam_lastlog
Dag-Erling Smørgrav 9201dc40bf Change the order in which pam_sm_open_session() updates the logs. This
doesn't really make any difference, except it matches wtmp(5) better.

Don't do anything in pam_sm_close_session(); init(8) will take care of
utmp and wtmp when the tty is released.  Clearing them here would make it
possible to create a ghost session by logging in, running 'login -f $USER'
and exiting the subshell.

Sponsored by:	DARPA, NAI Labs (but the bugs are all mine)
2002-01-24 17:15:04 +00:00
..
Makefile Add a PAM module that records sessions in utmp/wtmp/lastlog. 2002-01-24 09:45:17 +00:00
pam_lastlog.8 Change the order in which pam_sm_open_session() updates the logs. This 2002-01-24 17:15:04 +00:00
pam_lastlog.c Change the order in which pam_sm_open_session() updates the logs. This 2002-01-24 17:15:04 +00:00