[K12OSN] Kill User processes on log-off

Tom Lisjac netdxr at gmail.com
Tue Feb 22 21:39:02 UTC 2005


On Tue, 22 Feb 2005 15:27:32 -0600, Jim Kronebusch <jim at winonacotter.org> wrote:
> I have seen some stuff on this list over the last few days regarding
> cleaning out /tmp and killing user processes and such. 

Perhaps I'm jumping in late on this thread but in 4.2.0 there is a
variable in /etc/sysconfig/K12ltsp called PURGE_PROCESSES. Setting it
to yes causes this script to run in:/etc/X11/gdm/PostSession:

/usr/sbin/purge_user $USER SANE

It only affects uid's over 500 and seems to do a good job of mopping
up after a terminal user logs out.

-Tom




More information about the K12OSN mailing list