From owner-freebsd-questions Tue Jul 25 18:46:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.euriscom.com (dsl-216-227-20-81.telocity.com [216.227.20.81]) by hub.freebsd.org (Postfix) with ESMTP id 9DF5937B566 for ; Tue, 25 Jul 2000 18:46:40 -0700 (PDT) (envelope-from corey@euriscom.com) Received: from euriscom.com (mercedes.euriscom.com. [192.168.0.2]) by mail.euriscom.com (8.11.0.Beta3/8.11.0) with ESMTP id e6Q1lfn32705 for ; Tue, 25 Jul 2000 20:47:42 -0500 (CDT) (envelope-from corey@euriscom.com) Message-ID: <397E42FE.3F555976@euriscom.com> Date: Tue, 25 Jul 2000 20:46:38 -0500 From: Corey Wheeler X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.15-4mdksecure i686) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Updating the /var/log/wtmp file... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I frequently log into my FBSD 4.0 machine via SSH2 and whenever the connection is broken, the wtmp file still shows that I'm logged on to the terminal even though the who and users commands show that I'm not still logged on. Is there any way, short of rebooting, I can force this file to rescan or update the wtmp file with the correct login information? Or is there any way of "killing" or refreshing a terminal session when it thinks the user is still logged on and having it update the wtmp file so that it no longer shows "still logged in"? Thanks Corey Wheeler To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message