Re: How to redirect output from /etc/rc.shutdown

2009-12-02 Thread Ted Unangst
On Wed, Dec 2, 2009 at 12:48 PM, David Vasek wrote: > 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? Obviously, the answer is virtualization, so that there's only o

Re: How to redirect output from /etc/rc.shutdown

2009-12-02 Thread David Vasek
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 abo

Re: How to redirect output from /etc/rc.shutdown

2009-12-02 Thread Jan Stary
> >> 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

Re: How to redirect output from /etc/rc.shutdown

2009-12-02 Thread Joe Gidi
On Wed, December 2, 2009 8:50 am, Theodore Wynnychenko wrote: > 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 > se

Re: How to redirect output from /etc/rc.shutdown

2009-12-02 Thread Theodore Wynnychenko
(OPPS, I mean to send this to the list last night.) Hello: Thanks. >> 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.

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Jan Stary
On Dec 01 22:41:38, Robert wrote: > On Tue, 1 Dec 2009 10:53:40 -0600 > "Theodore Wynnychenko" wrote: > > > Hello: > > > > I have been unable to discover this answer for myself. If I missed > > this somewhere, sorry for bothering the list. > > > > Anyway, I would like to have the system confir

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread J Sisson
On Tue, Dec 1, 2009 at 3:58 PM, Abel Abraham Camarillo Ojeda < acam...@the00z.org> wrote: > Or don't give to your useless staff root access... > > Indeed. Many problems can be solved with this simple concept.

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Abel Abraham Camarillo Ojeda
On Tue, Dec 01, 2009 at 10:53:40AM -0600, Theodore Wynnychenko wrote: > Hello: > > I have been unable to discover this answer for myself. If I missed this > somewhere, sorry for bothering the list. > > Anyway, I would like to have the system confirm a shutdown or reboot before > actually doing i

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Robert
On Tue, 1 Dec 2009 10:53:40 -0600 "Theodore Wynnychenko" wrote: > Hello: > > I have been unable to discover this answer for myself. If I missed > this somewhere, sorry for bothering the list. > > Anyway, I would like to have the system confirm a shutdown or reboot > before actually doing it. >

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Ingo Schwarze
Hi Theodore, > 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 could do something like rename the shutdown/reboot/halt c

Re: How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Jan Stary
On Dec 01 10:53:40, Theodore Wynnychenko wrote: > Hello: > > I have been unable to discover this answer for myself. If I missed this > somewhere, sorry for bothering the list. > > Anyway, I would like to have the system confirm a shutdown or reboot before > actually doing it. Why? Somebody alre

How to redirect output from /etc/rc.shutdown

2009-12-01 Thread Theodore Wynnychenko
Hello: I have been unable to discover this answer for myself. If I missed this somewhere, sorry for bothering the list. Anyway, I would like to have the system confirm a shutdown or reboot before actually doing it. I could do something like rename the shutdown/reboot/halt commands, and then wri