$ apt show runit-init Package: runit-init Version: 2.1.2-15 Priority: optional Section: admin Source: runit Maintainer: Dmitry Bogatov <KAction@gnu.org> Installed-Size: 88.1 kB Depends: runit (= 2.1.2-15), runit-helper (>= 2.7.3), libc6 (>= 2.4), getty-run, sysv-rc, initscripts Conflicts: systemd-sysv, sysvinit-core, upstart Replaces: runit (<< 2.1.2-10~), systemd-sysv, sysvinit-core, upstart Homepage: http://smarden.org/runit/ Download-Size: 38.1 kB APT-Sources: http://ftp.jp.debian.org/debian sid/main amd64 Packages Description: system-wide service supervision (as init system) runit is a collection of tools to provide system-wide service supervision and to manage services. Contrary to sysv init, it not only cares about starting and stopping services, but also supervises the service daemons while they are running. Amongst other things, it provides a reliable interface to send signals to service daemons without the need for pid-files, and a log facility with automatic log file rotation and disk space limits. . This package provides /sbin/init, that boots your system and starts runit.
$ apt show molly-guard Package: molly-guard Version: 0.7.1 Priority: optional Section: admin Maintainer: Simó Albert i Beltran <sim6@probeta.net> Installed-Size: 57.3 kB Depends: procps Enhances: init, kexec-tools, mosh, openssh-server, pm-utils, systemd, sysvinit, upstart Tag: implemented-in::shell, interface::commandline, network::server, protocol::ssh, role::program, scope::utility Download-Size: 14.2 kB APT-Sources: http://ftp.jp.debian.org/debian sid/main amd64 Packages 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.