2012/11/06

RPM builds for molly-guard (version 0.4.5)

These are current (version 0.4.5) RPMs for the linux command line utility molly-guard.

There are specific builds for Enterprise Linux (Red Hat, CentOS, Oracle, etc.) versions 5 (EL5) and 6 (EL6). I may look into builds for other RPM based variants if enough interest arises.

From the Debian description page for molly-guard:


Package: molly-guard

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.

Links for the (S)RPMs can be found online on the rpmbuild structure.

Direct links follow:

2 comments: