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 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.