[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: safe halt/reboot/shutdown



also sprach Marc Haber <mh+debian-devel@zugschlus.de> [2006.10.17.1453 +0200]:
> A more compatible way of doing so would be having an optional
> configuration file where one could set an option that shutdown
> won't do anything unless the correct host name was given on the
> command line.

You want to alter /sbin/shutdown itself?

> While we are at it, this configuration file should also have an option
> to completely forbid shutdown -h or halt - a colocated server that
> switches itself off after shutdown -h won't respond to a reset signal,
> so remote hands are needed.

This is a good idea. I'll see to implementing this in my script,
along with the suggested configuration file handling. I do like the
extra prompt though...

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
NP: No-Man / Flowermouth (2005 Reissue)

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: