Package: molly-guard Version: 0.6.4 Severity: wishlist One of our people recently killed a molly-guarded server by mistake when they typed `systemctl poweroff` over SSH.
systemctl(1) has a whole bunch of dangerous subcommands, including halt, poweroff, reboot, kexec, suspend, rescue, emergency... It would be cool if molly-guard could double-check it--either just certain subcommands, or just wrap systemctl itself. -- System Information: Debian Release: 8.5 APT prefers stable APT policy: (990, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.18.1 (SMP w/2 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages molly-guard depends on: ii procps 2:3.3.9-9 molly-guard recommends no packages. molly-guard suggests no packages. -- debconf-show failed