Date: Sun, 20 May 2001 18:21:30 -0700 (PDT) From: .@FreeBSD.org To: freebsd-gnats-submit@FreeBSD.org Subject: bin/27482: /var/log/wtmp is not updated on logout Message-ID: <200105210121.f4L1LUt08681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 27482 >Category: bin >Synopsis: /var/log/wtmp is not updated on logout >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 20 18:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: christian >Release: 4.3-RELEASE >Organization: >Environment: FreeBSD hp0.pacbell.net 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Mon Apr 30 12:47:33 PDT 2001 root@hp0.pacbell.net:/usr/src/sys/compile/HP9780C-LITE i386 >Description: the wtmp log is not always updated when you log out. it does get updated if you use login(1) from the console (ttyv*). it does get updated if you use telnet from anywhere. it does not get updated if you use login(1) from an xterm. so, even when no one is logged on, last(1) reports that many users are "still logged in". >How-To-Repeat: run "xterm -e login". log in. run last(1) to verify that wtmp thinks you are logged in. log out. run last(1) to verify that wtmp does not realize you logged out. it will say you are "still logged in". >Fix: not sure... login(1) writes the log-in wtmp entry. and normally init(8) writes the log-out entry. but if you're running login from an xterm... how is init(8) going to find out about the logout? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105210121.f4L1LUt08681>