Bash process did not terminate after telnet logout.
Issue
- After telnet logout
in.telnetdandloginproccess terminated butbashproccess remained running with/dev/pts/Xopened. - 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/Xresource.
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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
