From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d159.mars.sunset.net ([209.209.116.159] helo=sunset.net ident=root) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 18yM1U-0006N1-00 for ; Wed, 26 Mar 2003 20:17:40 -0500 Received: (from rreid@localhost) by sunset.net (8.11.4/8.11.4) id h2R1Hao10730 for speakup@braille.uwo.ca; Wed, 26 Mar 2003 17:17:36 -0800 From: "Ralph W. Reid" Message-Id: <200303270117.h2R1Hao10730@sunset.net> Subject: bogus tty entry To: speakup@braille.uwo.ca Date: Wed, 26 Mar 2003 17:17:31 -0800 (PST) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: An incorrect user/tty combination is displayed by `who' on my system, and I would like to remove it. `who' indicates that I am logged in on tty12 even when I am not. If I do log in on tty12, I appear to be logged in on that tty twice. The bogus terminal usage has no processes associated with it so there is nothing to kill that might clear the problem up. I suspect that I crashed something that has left an invalid entry in /var/run/utmp, but I do not know how to remove the invalid entry from the file. I tried to write a little C program to remove the invalid entry using `logout' as defined in /usr/include/utmp.h, but an error during compilation-linking seemed to indicate that I needed to include one of the many libraries (perhaps from /lib?) on this system to get my little program to become a running executable. Is there some sort of program on Slackware 8.0 that might help me clear up this little annoyance, or should I start trying to figure out which library I need to link with my little program to deal with it? I would prefer not to reboot this system just to handle such a little problem. Thanks for any suggestions, and have a _great_ day! -- Ralph. N6BNO. Wisdom comes from central processing, not from I/O. rreid@sunset.net http://personalweb.sunset.net/~rreid Opinions herein are either mine or they are flame bait. CIRCLE CIRCUMFERENCE = 2 * _pi * r