Bug 56 - need summary
need summary
Product: Red Hat Linux
Classification: Retired
Component: telnet (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Depends On:
  Show dependency treegraph
Reported: 1998-11-12 12:26 EST by cadams
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 563948 (view as bug list)
Last Closed: 1999-03-26 11:00:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description cadams 1998-11-12 12:26:40 EST
If telnet doesn't enter a LOGIN entry in the utmp file,
login gets confused and adds a new entry at the end (even if
an entry for the tty already exists).  This causes the utmp
file to keep growing as long as the system is up.  A utmp
file over 1MB makes "who", "w", and other such programs slow
to a crawl on an active server.

I will send a patch for telnet that makes it create an entry
once I get a bug ID.
Comment 1 Derek Tattersall 1998-11-19 12:41:59 EST
This appears similar to bug # 55.  See the enclosed patch in the
second email.
Comment 2 Preston Brown 1999-03-18 09:45:59 EST
Jeff:  this has been fixed, right?  If so we should close this.
Comment 3 Jeff Johnson 1999-03-26 11:00:59 EST
And, finally, a better fix (to find utmp entry based on tty slot)
has been put into login.c that makes it unnecessary to create the
utmp entry before exec'ing login. Thanks for pointing this out.

Fix is in util-linux-2.9o-6.

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