wok-current view lxdm/stuff/PostLogout @ rev 18295

Up openssh (7.0p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 16 13:52:27 2015 +0200 (2015-08-16)
parents
children
line source
1 #!/bin/sh
2 #
4 # LXDM does not clear the last user's processes.
5 ps -o "user,pid" | fgrep $USER | while read user pid
6 do
7 kill $pid
8 done