Re: Force user logout?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mark Jarvis
Date:  
To: Main PLUG discussion list
Subject: Re: Force user logout?

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 <> 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 -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>


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