[K12OSN] Kill User processes on log-off
Rob Owens
hick518 at yahoo.com
Wed Feb 23 11:41:25 UTC 2005
How about running a script like this at login time,
instead of at logout time? Or maybe at both login and
logout?
Why is it that the processes don't die, anyway?
-Rob
--- Daniel Hedblom <daniel.hedblom at skola.solleftea.se>
wrote:
> Hi!
>
> The problem with this solution is that it only works
> if the user has logged out.
> For example a pulled powercord or a network failiure
> will bypass the Postsession
> script. Due to a problem (feature?) in gdm (Gnome
> Display Manager) the session
> isnt cleaned up. There are a bug filed on this so if
> they find a fix i think we
> should use it on ltsp. I have had numerous clients
> who cant log in or experience
> strange errors in ooffice and other apps in because
> of orphaned processes. This
> have most often occured after one of the client has
> died or lost connectivity.
>
> If anyone has a solution to this im happy as a pig
> =)
>
> http://bugzilla.gnome.org/show_bug.cgi?id=152906
> http://bugzilla.gnome.org/show_bug.cgi?id=152907
>
> /daniel
>
> Citerar Tom Lisjac <netdxr at gmail.com>:
>
> > 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
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
> >
> >
>
>
>
> ('<
> ----------------+-------------------------------
> /V\ Daniel Hedblom | Nipanskolan
> <(_) ----------------+ Solleftea /__ /\
>
__~~__________________Network_Technician__](__=_`)___
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
More information about the K12OSN
mailing list