Force user logout?

Technomage technomage-hawke at cox.net
Sat Feb 18 23:19:42 MST 2006


On Saturday 18 February 2006 22:40, 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.

slay is a good command here.


>
> Google provides many answers and I haven't found the clear one yet.
> Logged in as root on another console, how do I force a clean logout on
> the (now sleeping) user?

you can also do (from root): shutdown -r now

that will log everyone off the machine, regardless of state


>
> Alan
> ---------------------------------------------------
> 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