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

Accidental shutdown



Hi all,

 Is there a method to prevent accidental powerdown of a linux box ?
  or atleast alert ?

 This usually happens when there are too many machines being
   managed and I accidentally run 'sudo reboot'  on some other
   system rather than the one intented.

 I can rename and shell wrap the binaries poweroff/shutdown/reboot but
  that would not be a clean method and I am sure there should be
  much better way than that.

Bhasker C V
Registered linux user #306349



Reply to: