Date: Wed, 25 Sep 2002 11:14:59 -0700 (PDT) From: tig <tigger@onemoremonkey.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/43367: incorrect report from 'who' after 'shutdown now' from remote terminal Message-ID: <200209251814.g8PIExke072854@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 43367 >Category: bin >Synopsis: incorrect report from 'who' after 'shutdown now' from remote terminal >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: Wed Sep 25 11:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: tig >Release: 4.7-RC >Organization: n/a >Environment: FreeBSD piglet.l--v--l.net 4.7-RC FreeBSD 4.7-RC #0: Sun Sep 22 15:48:40 CEST 2002 root@piglet.l--v--l.net:/usr/obj/usr/src/sys/PIGLET i386 >Description: Using 'who' (or 'users' or 'w') command when in single user mode will display non-connected users who where connected at the time of a 'shutdown now'. These users are now no longer connected or logged in which is why I believe this is a bug. From the 'man who' page: The who utility displays information about currently logged in users. It appears that 'shutdown now' does not correctly update /var/run/utmp. If this IS the desired response from a 'shutdown now', followed by a 'who', then I apologise, but find it mis-leading. >How-To-Repeat: Login from a remote system either from the remote terminal or from a local terminal issue a 'shutdown now' Once in single user mode, issue a 'who', 'w' or 'users'. This will display the ghost users. >Fix: n/a >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?200209251814.g8PIExke072854>