Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a package called molly-guard which can help with that.


It's a must on my systems. After I once rebooted the wrong server accidentally, I now force myself to go through the pain of confirming the hostname of the machine.

Also, it's possible to circumvent it when you have scripts that need to reboot the machine without interaction by issuing `reboot </dev/null` in the script.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: