all options
squeeze  ] [  wheezy  ] [  jessie  ] [  sid  ]
[ Source: molly-guard  ]

Package: molly-guard (0.4.5-1)

Links for molly-guard

Screenshot

Debian Resources:

Download Source Package molly-guard:

Maintainers:

Similar packages:

protects machines from accidental shutdowns/reboots

The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff commands and first runs a set of scripts, which all have to exit successfully, before molly-guard invokes the real command.

One of the scripts checks for existing SSH sessions. If any of the four 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.

Tags: Implemented in: sh, bash, ksh, tcsh and other shells, User Interface: Command Line, Networking: network::server, protocol::ssh, Role: Program, Scope: Utility

Other Packages Related to molly-guard

  • depends
  • recommends
  • suggests
  • enhances

Download molly-guard

Download for all available architectures
Architecture Package Size Installed Size Files
all 13.1 kB85.0 kB [list of files]