Bash process did not terminate after telnet logout.

Solution Unverified - Updated -


  • 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.


  • Red Hat Enterprise Linux 4
  • Red Hat Enterprise Linux 5 may affect
  • Red Hat Enterprise Linux 6

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