Bash process did not terminate after telnet logout.
Issue
- After telnet logout
in.telnetd
andlogin
proccess terminated butbash
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.