diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:24:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:24:08 +0000 |
commit | 9bf968ec5e784c6c310a8e53a6c70f4d16883fb3 (patch) | |
tree | 858bc9356848dca038ab91da97047dfa5e68b4f5 /debian/control | |
parent | Adding upstream version 0.8.4. (diff) | |
download | molly-guard-9bf968ec5e784c6c310a8e53a6c70f4d16883fb3.tar.xz molly-guard-9bf968ec5e784c6c310a8e53a6c70f4d16883fb3.zip |
Adding debian version 0.8.4.debian/0.8.4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/control')
-rw-r--r-- | debian/control | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..00cb339 --- /dev/null +++ b/debian/control @@ -0,0 +1,38 @@ +Source: molly-guard +Section: admin +Priority: optional +Maintainer: Simó Albert i Beltran <sim6@probeta.net> +Uploaders: Ludovico Gardenghi <garden@debian.org>, + Josh Triplett <josh@joshtriplett.org>, + Francois Marier <francois@debian.org>, + Marc Haber <mh+debian-packages@zugschlus.de> +Build-Depends: debhelper-compat (= 13), docbook-xsl, xsltproc +Standards-Version: 4.6.2 +Rules-Requires-Root: binary-targets +Vcs-Git: https://salsa.debian.org/debian/molly-guard.git +Vcs-Browser: https://salsa.debian.org/debian/molly-guard + +Package: molly-guard +Architecture: all +Depends: procps, ${misc:Depends} +Enhances: init, + kexec-tools, + mosh, + openssh-server, + pm-utils, + systemd, + sysvinit, + upstart +Description: protects machines from accidental shutdowns/reboots + The package installs a shell script that overrides the existing + shutdown/reboot/halt/poweroff/coldreboot/pm-hibernate/pm-suspend* 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. + . + molly-guard diverts the real binaries to /lib/molly-guard/. You can bypass + molly-guard by running those binaries directly. |