Date: Thu, 24 Jan 2002 09:15:04 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpam/modules/pam_lastlog pam_lastlog.8 pam_lastlog.c Message-ID: <200201241715.g0OHF4d92588@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2002/01/24 09:15:04 PST
Modified files:
lib/libpam/modules/pam_lastlog pam_lastlog.8 pam_lastlog.c
Log:
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)
Revision Changes Path
1.2 +1 -5 src/lib/libpam/modules/pam_lastlog/pam_lastlog.8
1.3 +13 -20 src/lib/libpam/modules/pam_lastlog/pam_lastlog.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201241715.g0OHF4d92588>
