From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from www.pcdesk.net ([198.31.26.207] helo=gwen.pcdesk.net) by speech.braille.uwo.ca with smtp (Exim 3.35 #1 (Debian)) id 18yVkw-0002ff-00 for ; Thu, 27 Mar 2003 06:41:15 -0500 Received: (qmail 5462 invoked from network); 27 Mar 2003 11:40:41 -0000 Received: from localhost.wcox.com (HELO pcdesk.net) (1011@127.0.0.1) by localhost.wcox.com with SMTP; 27 Mar 2003 11:40:41 -0000 X-MessageWall-Score: 0 (pcdesk.net) Received: from [192.168.0.100] (authenticated as jbahm) by pcdesk.net (MessageWall 1.0.8) with SMTP (encrypted with RC4-MD5); 27 Mar 2003 11:40:41 -0000 Date: Thu, 27 Mar 2003 04:41:14 -0700 (Mountain Standard Time) From: "Joseph C. Lininger" To: speakup@braille.uwo.ca Subject: Re: bogus tty entry In-Reply-To: Message-ID: References: <200303270117.h2R1Hao10730@sunset.net> X-X-Sender: jbahm@pcdesk.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: I believe you actually want to get rid of /var/run/utmp, not wtmp. wtmp holds login information, but not the info on who is currently logged in. utmp is the file that holds that info. As I said in a previous message, I don't recommend overwriting this file while your system is live because some very weird things will happen if you do. -- Joseph C. Lininger jbahm@pcdesk.net On Wed, 26 Mar 2003, Luke Davis wrote: > 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 > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >