Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!virtech!cpcahil From: cpcahil@virtech.uucp (Conor P. Cahill) Newsgroups: comp.unix.i386 Subject: Re: 2 more Q's about 386/ix Keywords: displays, shutdown Message-ID: <1989Dec21.004350.12070@virtech.uucp> Date: 21 Dec 89 00:43:50 GMT References: <1910@syma.sussex.ac.uk> <1989Dec20.201930.572@esegue.segue.boston.ma.us> Organization: Virtual Technologies Inc. Lines: 21 In article <1989Dec20.201930.572@esegue.segue.boston.ma.us>, johnl@esegue.segue.boston.ma.us (John R. Levine) writes: > In article <1989Dec19.002805.3039@virtech.uucp> cpcahil@virtech.uucp (Conor P. Cahill) writes: > >> >Is it possible to run shutdown from anything other than the console VT? > >> - /etc/init 0 [ as superuser ] > >This does not work for 386/ix. > > On 386/ix 2.0.x, at least, it works from any terminal. I just tried it > now. You can use init 0 to shut down or init 5 or init 6 to reboot. Very > handy when you're dialed in to your home machine from work or vice versa. In 386/ix 2.0.2, init 0, when run on a terminal other than the console, echos: Can only invoke init 0 from the console However, "init 0 < /dev/console" does have the desired effect. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+