Re: Force user logout?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
To: Main PLUG discussion list
Subject: Re: Force user logout?
Kurt Granroth wrote:
>
> I suppose that depends on your definition of "clean" :-)


Heh!

> # su <user>
> $ kill -9 -1


I've used this method before and the user ended up with a KDE
environment that was half messed up (desktop icons shuffled, a few other
settings lost, etc.) when they logged back in.

> If you want the processes to actually perform a logout procedure and
> your son is running KDE, then try this:
>
> # dcop --all-sessions --all-users ksmserver ksmserver logout 0 2 0


OK, this appears to have worked well except that it resulted in a
shutdown of the the system. This is not bad, I was just originally
looking for a way to logout but not shutdown. I'll go investigate dcop
commands.

Thanks.

Alan
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss