LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-19-2004, 10:29 AM   #1
dmadhava
LQ Newbie
 
Registered: Nov 2001
Posts: 15

Rep: Reputation: 0
Stale login entries in utmp/wtmp (even after user logs out)


Hello,

I observe stale entries in either the utmp or wtmp files (not sure which one) when user's login and log out of the system. Not sure when the entries are created but see a bunch of conflicting entries. Here is an example of what I am talking about:

> w
11:25:38 up 17 days, 8:34, 3 users, load average: 0.00, 0.01, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
user1 pts/0 internet4.- 11:13am 0.00s 0.04s 0.00s w
> who
user1 pts/0 May 19 11:13 (internet4...)
user2 pts/0 May 16 17:22 (:0.0)
user1 pts/2 May 15 23:02 (:0.0)

If you notice in the above output from the "who" command it appears like "user1" and "user2" are logged in using the same terminal! However, only one user "user1" was logged in at the time this dump was taken.

This issue is causing some problems (when using talk and other tty based programs) on the system. I am using RedHat 9.0 stock kernel (2.4.20-30.9) and the machine is upto data as far as I can tell. Anybody come across this problem and know how to fix it?

thanks

with regards
-DJ
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stale login entries in utmp/wtmp (even after user logs out) dmadhava Linux - General 1 03-04-2009 09:18 AM
Somone please help, ive tryed everthing. Only logs in as root, Wont login as user. blackspade Linux - Security 2 08-05-2005 10:39 AM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
utmp, wtmp Xavius Linux - Newbie 3 04-11-2004 08:29 AM
chmod for user write entries illtbagu Linux - General 2 11-12-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration