public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* bogus tty entry
@  Ralph W. Reid
   ` Adam Myrow
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Ralph W. Reid @  UTC (permalink / raw)
  To: speakup

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 bogus tty entry Ralph W. Reid
 ` Adam Myrow
   ` Luke Davis
     ` Adam Myrow
     ` Joseph C. Lininger
       ` Adam Myrow
 ` Lorenzo Prince
   ` Luke Davis
   ` Ralph W. Reid
     ` Lorenzo Prince
       ` Ralph W. Reid
   ` Ralph W. Reid
     ` Adam Myrow
       ` Joseph C. Lininger
 ` Joseph C. Lininger
   ` Ralph W. Reid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).