Hi ,

I also tried passing signal SIGTERM to the privileged sshd process once the
session is obtained. This leaves impurities in wtmp entries and I think
there is no SIGTERM handler for sshd. This shows the user as "still logged
in" even after logout. What will be the effect if we have the handler for
this signal? Will it break anywhere?

When I tried this with rlogin program, it handled the SIGTERM and cleared
the wtmp entries.

Thanks,
Senthil Kumar.



----- Original Message -----
From: "Logu"
To: "OpenSSH Devel List"
Sent: Monday, April 25, 2005 5:25 PM
Subject: Cleaning wtmp entries when SIGTERM is received.


> Hi,
>
> Is there a reason for not cleaning up wtmp entries when a SIGTERM is
> received for a user session.
>
> -Logu
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev@mindrot.org
> http://www.mindrot.org/mailman/listi...enssh-unix-dev
>



_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev