Displaying 1 result from an estimated 1 matches for "hupa".
Did you mean:
hpa
2005 May 22
2
Killing ssshd seassions
...ion, killing the ut_pid doesnt work
though. I've done some workaround and got to this point :
ps -aux
root 26621 0.0 0.3 5940 1644 ? S 21:33 0:00 sshd: janez [priv] <-
the pid in utmp
janez 2356 0.0 0.3 5940 1720 ? S 21:34 0:00 sshd: janez at pts/5 <- the
right one to kill
pstree -hupa
|-sshd,19460
| `-sshd,26621
| `-sshd,2356,janez
| `-bash,10753
If killing the pid from utmp i get orphaned processes :
|-sshd,19460
|-sshd,2356,janez
| `-bash,10753