43 lines
1.8 KiB
Text
43 lines
1.8 KiB
Text
Source: molly-guard
|
|
Section: admin
|
|
Priority: optional
|
|
Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org>
|
|
XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org>
|
|
XSBC-Original-Maintainer: Simó Albert i Beltran <sim6@probeta.net>
|
|
XSBC-Original-Uploaders: Ludovico Gardenghi <garden@debian.org>,
|
|
Josh Triplett <josh@joshtriplett.org>,
|
|
Francois Marier <francois@debian.org>,
|
|
Marc Haber <mh+debian-packages@zugschlus.de>
|
|
Bugs: mailto:maintainers@lists.progress-linux.org
|
|
Build-Depends: debhelper-compat (= 13), docbook-xsl, xsltproc
|
|
Standards-Version: 4.7.0
|
|
Rules-Requires-Root: binary-targets
|
|
Vcs-Browser: https://git.progress-linux.org/horok/molly-guard
|
|
Vcs-Git: https://git.progress-linux.org/horok/molly-guard
|
|
XSBC-Original-Vcs-Browser: https://salsa.debian.org/debian/molly-guard
|
|
XSBC-Original-Vcs-Git: https://salsa.debian.org/debian/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.
|