summaryrefslogtreecommitdiffstats
path: root/debian/control
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:27:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:27:32 +0000
commitd466f0b2fe1ce833e23a7ad94fe7e7c5806a1503 (patch)
tree93276fbd4a8419784e43c7e1b9a820f28c9a6a20 /debian/control
parentAdding upstream version 0.7.2. (diff)
downloadmolly-guard-debian/0.7.2.tar.xz
molly-guard-debian/0.7.2.zip
Adding debian version 0.7.2.debian/0.7.2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/control')
-rw-r--r--debian/control37
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c692933
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+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 (>= 10), docbook-xsl, xsltproc
+Standards-Version: 4.0.0
+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.