Red Hat Bugzilla – Bug 45113
utmp is not cleaned up if client quits improperly
Last modified: 2008-05-01 11:38:00 EDT
The problem is with openssh-server-2.9p1-3gss and 2.9p2.
To reproduce the bug:
* open an ssh2 session (e.g: ssh -l guest localhost)
* send SIGTERM to the xterm holding this session
* type "who" on the server and notice that the client pts/ is still there
So the ssh server improperly cleans /var/run/utmp.
The problem is that, it can completly messes up the logs on the system.
Also note, that if you quit the session with ALT-D, everything works fine.
This is fixed in openssh cvs.
Now, fixed in openssh-3.0p1-1.