[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Accidental shutdown



Bhasker C V <bhasker@unixindia.com> writes:

>   Is there a method to prevent accidental powerdown of a linux box ?
>    or atleast alert ?

If you get in the habit of running "shutdown -r +1" instead of
"reboot", it will warn users for 1 minute before shutting down the
server.  That should give you enough time to run "shutdown -c" to
cancel the shutdown if you realize it's on the wrong machine.

Hope this helps,

-----Scott.


Reply to: