[Pkg-shadow-devel] [pkg-shadow-Bugs][315237] login shells not getting terminated upon telnet disconnect

pkg-shadow-bugs at alioth.debian.org pkg-shadow-bugs at alioth.debian.org
Mon Nov 23 05:49:45 UTC 2015


pkg-shadow-Bugs item #315237, was opened at 2015-11-23 05:49 by Subbu M
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411478&aid=315237&group_id=30580

Status: Open
Priority: 3
Submitted By: Subbu M (smandava-guest)
Assigned to: Nobody (None)
Summary: login shells not getting terminated upon telnet disconnect 
Category: None
Group: None
Resolution: None


Initial Comment:
Reproduction steps:
-------------------

Launch telnet:
root      2879  2807  0 03:00 pts/0    00:00:00 telnet localhost
root      2880  2298  0 03:00 ?        00:00:00 /usr/sbin/telnetd
root      2881  2880  0 03:00 pts/3    00:00:00 /bin/login
test      2882  2881  0 03:00 pts/3    00:00:00 -sh

Launch SSH:
test      2892  2882  0 03:00 pts/3    00:00:00 ssh root at 10.40.20.76
root      2893  2239  0 03:00 ?        00:00:00 sshd: root at pts/4
root      2895  2893  0 03:00 pts/4    00:00:00 -sh

After Killing telnet:-
root      2881     1  0 03:00 pts/3    00:00:00 /bin/login
test      2882  2881  0 03:00 pts/3    00:00:00 -sh
test      2892  2882  0 03:00 pts/3    00:00:00 ssh root at 10.40.20.76
root      2893  2239  0 03:00 ?        00:00:00 sshd: root at pts/4
root      2895  2893  0 03:00 pts/4    00:00:00 -sh

Ideally, ssh session also should get closed. It is not happening as login process is not sending SIGTERM signals to its children.

Can you please check this issue and help?

Regards,
Subbu M

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=411478&aid=315237&group_id=30580



More information about the Pkg-shadow-devel mailing list