dpkg-statoverride halt

Do you run a colocated server somwhere? Do you regularily work on it as root? Do you often have several consoles running? Do you sometimes not pay attention to the host information on the prompt? Do you shut down other computers, as your own? Then I strongly recommend you:

dpkg-statoverride --update --add root root 644 /sbin/halt

(To whom it concerns: Sorry for the downtime.)


A better approach: http://people.debian.org/~terpstra/message/20061016.145008.1f916c82.en.html
#1 Joachim Breitner (Homepage) am 2006-10-19T10:01:31+00:00
what does this do?
sorry, i'm feeling way to lazy to try it out and find out.
#2 thinfox am 2006-10-19T13:00:17+00:00
It makes halt non-executable, by removing the x bit, and makes sure that upgrades leave it that way.
#3 Joachim Breitner (Homepage) am 2006-10-19T13:27:55+00:00

Have something to say? You can post a comment by sending an e-Mail to me at <mail@joachim-breitner.de>, and I will include it here.