Skip to main content
4 events
when toggle format what by license comment
Oct 15, 2014 at 19:11 history edited Andrew B CC BY-SA 3.0
clarified that "kill -HUP sshd" will cleanup child shells
Oct 15, 2014 at 18:10 comment added wkschwartz To make this answer explicit, what I did was: echo "Hasta la vista, baby" | write user_name pty_name && sleep 30 && killall -u user_name -HUP(the sleep gives the user the chance to save and log off, but you're probably only using this on a user who forgot to log off anyway)
Aug 13, 2014 at 17:54 comment added Andrew Falanga While the pseudo-omnipotent feeling that accompanies a kill -9 is fun, this suggestion is probably better. An up-vote from me.
Jan 7, 2013 at 23:45 history answered Andrew B CC BY-SA 3.0