Bug 78568

Summary: console utmp entries overwritten by telnet pts entries
Product: [Retired] Red Hat Linux Reporter: Need Real Name <enzo>
Component: telnetAssignee: Harald Hoyer <harald>
Status: CLOSED DEFERRED QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-25 08:27:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2002-11-25 21:33:33 UTC
Description of Problem:
a telnet session (pts/1) will overwrite console session (tty1) in utmp AND visa 
versa

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

How Reproducible:
every time.

Steps to Reproduce:
1. login to console tty1
2. telnet into server (pts/0)
3. telnet again (pts/1)
4. who

Actual Results:
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
user    pts/1    workstation          4:14pm  0.00s  0.02s  0.01s  w


Expected Results:
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU  WHAT
root     tty1     -                 4:07pm  6:25   0.02s  0.01s  -ksh
user    pts/1    workstation          4:14pm  0.00s  0.02s  0.01s  w


Additional Information:
i'm a newbie. be kind if this is a duplicate. i searched the archives.	
kernel - 2.4.9-34
telnet-0.17-18.1  i'm not sure that this is the culprit.
util-linux-2.11f-17.7.2

ssh works fine. only telnet is affected.

Thanks
Enzo

Comment 1 Davide D'Amico 2003-03-05 18:49:38 UTC
Also RedHat 7.2 and 7.3 are affected from this problem.
rlogin, it has the same problem.