Bash process did not terminate after telnet logout.

Solution Unverified - Updated -

Issue

  • After telnet logout in.telnetd and login proccess terminated but bash proccess remained running with /dev/pts/X opened.
  • The following is result of lsof.
bash      13024     testuser    0u      CHR              136,0       0t0          3 /dev/pts/0 (deleted)
bash      13024     testuser    1u      CHR              136,0       0t0          3 /dev/pts/0 (deleted)
bash      13024     testuser    2u      CHR              136,0       0t0          3 /dev/pts/0 (deleted)
bash      13024     testuser  255u      CHR              136,0       0t0          3 /dev/pts/0 (deleted)
  • Finally, the customer became unable to login to remote server because of lack of /dev/pts/X resource.

Environment

  • Red Hat Enterprise Linux (RHEL) 4, 6 and 7 are affected
  • potentially affected: RHEL5
  • bash

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content