File: control

package info (click to toggle)
molly-guard 0.7.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 88 kB
  • ctags: 11
  • sloc: xml: 286; sh: 205; makefile: 41
file content (36 lines) | stat: -rw-r--r-- 1,451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Source: molly-guard
Section: admin
Priority: extra
Maintainer: Simó Albert i Beltran <sim6@probeta.net>
Uploaders: Ludovico Gardenghi <garden@debian.org>,
           Josh Triplett <josh@joshtriplett.org>,
           Francois Marier <francois@debian.org>
Build-Depends: debhelper (>= 9), docbook-xsl, xsltproc
Standards-Version: 4.0.0
Vcs-Git: https://anonscm.debian.org/git/collab-maint/molly-guard.git
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/molly-guard.git

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.