After having someone reboot the wrong linux machine (again), we decided to take some action:
apt-get install molly-guard
This works on Debian/Ubuntu systems. After install, try running reboot or shutdown commands – the molly-guard will force you to type in the name of the system you’re trying to reboot/power off before it will actually allow the command to continue.