etch  ] [  etch-backports  ] [  etch-m68k  ] [  lenny  ] [  sid  ]
[ ソース: molly-guard  ]

パッケージ: molly-guard (0.4.4-2)

protects machines from accidental shutdowns/reboots

The package installs a shell script that overrides the existing shutdown/reboot/halt/poweroff 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.

This shell script passes through the commands to the respective binaries in /sbin and should thus not get in the way if called non-interactively, or locally.

タグ: 実装言語: sh、bash、ksh、tcsh などのシェル, ユーザインタフェース: コマンドライン, ネットワークの利用方法: サーバ, ネットワークプロトコル: SSH, 役割: プログラム, 対象範囲: ユーティリティ

その他の molly-guard 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: procps
    /proc ファイルシステムユーティリティ

molly-guard のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 11.2 kB108 kB [ファイル一覧]