Download Source Package molly-guard:
The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff commands. If any of the three commands are called interactively over an SSH session, the shell script prompts you to enter the name of the host you wish to shut down. This should adequately prevent you from accidental shutdowns and reboots.
This shell script passes through the commands to the respective binaries in /sbin and should thus not get in the way if called non-interactively, or locally.
|
|
|
| Architecture | Package Size | Installed Size | Files |
|---|---|---|---|
| all | 7.7 kB | 80 kB | [list of files] |