Newsgroups: comp.unix.sysv386
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!ispd-newsserver!ism.isc.com!ico!dougm
From: dougm@ico.isc.com (Doug McCallum)
Subject: Re: Rebooting Sys V/386
Message-ID: <1991Mar29.141617.8894@ico.isc.com>
Keywords: shutdown reboot autoboot
Reply-To: dougm@ico.ISC.COM (Doug McCallum)
Organization: Interactive Systems Corp., Boulder CO
References: <419@srs.UUCP> <563@bigfoot.first.gmd.de> <1991Mar28.173232.1409@virtech.uucp> <570@bigfoot.first.gmd.de>
Date: Fri, 29 Mar 1991 14:16:17 GMT

In article <570@bigfoot.first.gmd.de> tmh@prosun.first.gmd.de (Thomas Hoberg) writes:
...
>I was under the impression that the guy knew what he was doing. He would have to
>do the killing and umounting himself.

Probably a bad assumption anytime. :-)

>The problem with all methods mentioned so far is, that they won't work with a 
>*remote* login (which he required). Now I don't think it's a very good idea at all
>to do configuration changes remotely, but obviously he had no choice. I don't know

To do a reboot when remotely logged in, it is only neccessary to convince
the system you are on the console.  I reboot across a network all the time.
To do this, simply do the following (in a shell script if you like):

	cd /
	shutdown -g0 -y -i6 </dev/console

Don't logout, let the shutdown throw you off the system.  A logout will
result in the shutdown being killed.

Doug McCallum
Interactive Systems Corp.
dougm@ico.isc.com
