Bug 118893 - 'Who' and 'w' outputs wrong logged in users
'Who' and 'w' outputs wrong logged in users
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: sh-utils (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-22 10:57 EST by Brigasta
Modified: 2007-04-18 13:04 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-03-23 04:40:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Brigasta 2004-03-22 10:57:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
I log in from tty1,tty2,tty3 and a remote telnet terminal and I 
exec 'WHO' or 'W' command:

it displays:

tty1  ....
tty2  ....
tty3  ....
pts/0 ....

Then I log in from another remote telnet terminal and I re-exec 'WHO' 
or 'W' command:

it displays:

pts/1 ....
tty2  ....
tty3  ....
pts/0 ....

tty1 is still logged in but who command doesn't show it! Moreover 
pts/1 has taken its place! When I log out pts/1, tty1 will no more be 
shown again!

I suppose bug depends on 'login' and '/var/run/utmp' file.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:


    

Additional info:
Comment 1 Tim Waugh 2004-03-22 12:38:46 EST
Does this happen for you with Red Hat Enterprise Linux, say, or Fedora
Core 1?  7.2 is quite an old release and many bugs have been fixed
since then.
Comment 2 Brigasta 2004-03-23 03:44:48 EST
It happens on RH Linux 7.2 and 7.3 but not in 9.0. I know it's a 
previous version but I'd like to solve the problem without upgrading.

Note You need to log in before you can comment on or make changes to this bug.