From: John P. Looney (valen at domain tuatha.org)
Date: Thu 19 Sep 2002 - 12:50:03 IST
On Thu, Sep 19, 2002 at 12:44:09PM +0100, Satelle, StevenX mentioned:
> Does anyone have any thoughts on how easy it is to ssh into a remote box,
> switch to another tty do some work. Forget, switch back to the remote
> machine and shut it down? Specifically how to stop it. I tried renaming the
> shutdown command on the remote box but it broke the reboot command (or visa
> versa, I cant remember).
You are best off replacing the reboot script with something like
echo "Are you sure you want to reboot `hostname` ?"
Keep the reboot command there, just leave it somewhere that it can be
ctrl-C'd if you accidentaly do it.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:57 GMT