Debian Codegraph @

debian/control

raw
1 Source: molly-guard
2 Section: admin
3 Maintainer: Debian Molly-Guard Maintainers <[email protected]>
4 Uploaders: Simó Albert i Beltran <[email protected]>,
5 Ludovico Gardenghi <[email protected]>,
6 Josh Triplett <[email protected]>,
7 Francois Marier <[email protected]>,
8 Marc Haber <[email protected]>
9 Build-Depends-Indep: docbook-xsl, xsltproc
10 Build-Depends: debhelper-compat (= 13)
11 Standards-Version: 4.7.4
12 Rules-Requires-Root: binary-targets
13 Vcs-Git: https://salsa.debian.org/debian/molly-guard.git
14 Vcs-Browser: https://salsa.debian.org/debian/molly-guard
15
16 Package: molly-guard
17 Architecture: all
18 Depends: procps, ${misc:Depends}
19 Enhances: init,
20 kexec-tools,
21 mosh,
22 openssh-server,
23 pm-utils,
24 systemd,
25 sysvinit,
26 upstart
27 Description: protects machines from accidental shutdowns/reboots
28 The package installs a shell script that overrides the existing
29 shutdown/reboot/halt/poweroff/coldreboot/pm-hibernate/pm-suspend* commands
30 and first runs a set of scripts, which all have to exit successfully,
31 before molly-guard invokes the real command.
32 .
33 One of the scripts checks for existing SSH sessions. If any of the four
34 commands are called interactively over an SSH session, the shell script
35 prompts you to enter the name of the host you wish to shut down. This should
36 adequately prevent you from accidental shutdowns and reboots.
37 .
38 molly-guard diverts the real binaries to /lib/molly-guard/. You can bypass
39 molly-guard by running those binaries directly.