From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from server1.shellworld.net ([64.39.15.178] ident=root) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 18yO1L-0007EM-00 for ; Wed, 26 Mar 2003 22:25:39 -0500 Received: from server1.shellworld.net (ldavis@LOCALHOST [127.0.0.1]) by server1.shellworld.net (8.12.8/8.11.1) with ESMTP id h2R3PZYT080394 for ; Wed, 26 Mar 2003 21:25:35 -0600 (CST) (envelope-from ldavis@shellworld.net) Received: from localhost (ldavis@localhost) by server1.shellworld.net (8.12.8/8.12.8/Submit) with ESMTP id h2R3PYMV080389 for ; Wed, 26 Mar 2003 21:25:34 -0600 (CST) (envelope-from ldavis@shellworld.net) X-Authentication-Warning: server1.shellworld.net: ldavis owned process doing -bs Date: Wed, 26 Mar 2003 21:25:34 -0600 (CST) From: Luke Davis To: speakup@braille.uwo.ca Subject: Re: bogus tty entry In-Reply-To: Message-ID: References: <200303270117.h2R1Hao10730@sunset.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Do you need to do it on delay, then log out before it hits? That is: (sleep 10; cat /dev/null > /var/wtmp) & exit On Wed, 26 Mar 2003, Adam Myrow wrote: > The only way to get rid of that is to zero out /var/wtmp and log out of > all vertial terminals. You could also reboot, but why bother when you can > fix it without doing that? The magic command is "cat /dev/null > >/var/wtmp." Catting /dev/null over any file will make it empty but leave > its ownership and permissions intact, so this is the best way to empty out > a file that the system relies on. Good luck. > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >