Remote Shutdown

Drew Lane yellowdog-general@lists.terrasoftsolutions.com
Wed Nov 20 08:29:01 2002


>
>
>Instead of poweroff, try
>
>    shutdown -h +1
>
>and then log out.  This command will initiate the shutdown process
>with a one minute delay, giving you time to get out of there before
>the telnet session freezes.
>

FYI, I think I've got this working now with:

/sbin/shutdown -h 1 &

Apparently shutdown is not in the path after your telnet,
and I used & to run shutdown in the background so that
I could exit telnet.

BTW, is there any advantage to using ssh in this situation?

Drew