*BSD News Article 99531


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in1.uu.net!134.48.1.77!sol.net!spool.mu.edu!newsspool.sol.net!howland.erols.net!news.maxwell.syr.edu!news.he.net!rtd.com!dgy
From: dgy@rtd.com (Don Yuniskis)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Powering Down
Date: 13 Jul 1997 05:23:30 GMT
Organization: CICDO
Lines: 14
Message-ID: <5q9ooi$3hk@baygull.rtd.com>
References: <33c49208.1255785@news.dixonssurgical.co.uk> <5q8h0b$kce$1@news1.sympatico.ca>
NNTP-Posting-Host: seagull.rtd.com
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:44335

In article <5q8h0b$kce$1@news1.sympatico.ca>,
Gardner Buchanan <gbuchanan@on.sympatico.ca> wrote:

[snip]

>I don't like the Ctrl-Alt-Del keyboard mapping.  Instead I have an
>entry like this in my /etc/passwd table.  This way I can type
>"halt" at the login prompt, give the password and get what I want.
>
>   halt:*:0:0:Superuser:/root:/sbin/halt

Huh???  This won't help you when in single user mode (no login prompt).
And, in multiuser mode, it's rather inelegant (to say the least)...
Perhaps a nice little ShutDown.sh script instead...