Per SSH den falschen Rechner rebooten

Wem das auch schon mal passiert ist:

~# reboot
Broadcast message from root (pts/0) (Sat Jul 11 14:48:21 2009):
The system is going down for reboot NOW!

Und man sich anschließend denkt “Oops”, das war der falsche. Ja, dann, dann hat man molly-guard nicht installiert. Also ran da:

~# aptitude install molly-guard

Will man nun nachdem man molly-guard installiert hat den Rechner wieder per Remote-Session rebooten, so sieht das ganze wie folgt aus:

~# reboot
W: molly-guard: SSH session detected!
Please type in hostname of the machine to reboot: kelly
Good thing I asked; I won't reboot doug ...
W: aborting reboot due to 30-query-hostname exiting with code 1.

Das sieht doch schon mal gleich wieder viel besser aus. *glückgehabt*