On Wed, 2 Dec 2009, Theodore Wynnychenko wrote:
Anyway, I would like to have the system confirm a shutdown or reboot
before actually doing it.
Why?
And who will be allowed to initiate a shutdown that way?
Without knowing that, it's hard to suggest a sane approach.
I was just thinking about the possibility of having more than one SSH
session open, and mistakenly shutting down the wrong one. I agree that this
should be unlikely to occur, but I wanted to see if I could devise a simply
second step to help prevent it.
Do you mean ssh sessions to a number of machines? And what measure would
you have then against editing files in a wrong machine, killing a daemon,
newfs a disk partition, etc?
Regards,
David