Force user logout?

Mark Jarvis mark.jarvis at pvmail.maricopa.edu
Sun Feb 19 22:38:41 MST 2006


If you can pop up a terminal window and "su -" to root, you can type 
"init 6", and you'll get a nice, clean shutdown.

-mj-

A LeDonne wrote:
> On 2/18/06, Kurt Granroth <plug-discuss at granroth.org> wrote:
> 
>>On Feb 18, 2006, at 10:40 PM, Alan Dayley wrote:
>>
>>>Let's say a user logged into a computer and set the screen saver
>>>password (My son did this against house rules to keep his siblings off
>>>the computer).  This user is no longer available (He is now in
>>>bed).  I
>>>don't know his password but I know the root password for the
>>>machine (Of
>>>course!).  I want to force the user to logout so the machine can
>>>cleanly
>>>shutdown.
> 
> <snip>
> 
>>I suppose that depends on your definition of "clean" :-)
>>
>># su <user>
>>$ kill -9 -1
> 
> <snip>
> 
> You could try kill at lower levels than -9 on the user's processes,
> including KDE. I've found kill -TERM (aka kill -3) to work in most
> cases.
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 



More information about the PLUG-discuss mailing list