hisso.li
  • Login
Show Navigation
  • Public

    • Groups

Conversation

Notices

  1. matoken (matoken@gnusocial.matoken.org)'s status on Wednesday, 26-Sep-2018 22:45:23 JST matoken matoken
    molly-guard は wrapper なのか
    リモートのサーバを誤って落とすなどが防げていいかもしれない

    $ 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.
    In conversation Wednesday, 26-Sep-2018 22:45:23 JST from gnusocial.matoken.org permalink
    • Help
    • About
    • FAQ
    • Privacy
    • Source
    • Version
    • Contact

    hisso.li is a social network. It runs on GNU social, version 2.0.0-alpha0, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All hisso.li content and data are available under the Creative Commons Attribution 3.0 license.

    Switch to desktop site layout.