summaryrefslogtreecommitdiffstats
path: root/debian/control
diff options
context:
space:
mode:
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control38
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.