What is Molly Guard and how to install it

What is Molly Guard and how to install it

In this tutorial we will discuss about the topic Molly Guard, so what is Molly Guard and how to install it?

Molly-Guard is a usefull and easy to use tool. It prevents you from accidentally shutting down your Linux.

This is very good when you are connected as root on ssh and by mistake you shutdown the remote server instead of your local computer. I think this happened to everyone (at least once).

Molly-Guard asks the hostname of the station you want to shut down, even if you are connected or not to ssh.

How to install Molly-Guard:

On Debian: $ sudo apt-get install molly-guard
If you want to install Molly-guard on Fedora or OpenSuSE, you need to convert it into the .rpm format first.

$ sudo shutdown now
W: molly-guard: SSH session detected!
Please type in hostname of the machine to shutdown: naboo

If you type a wrong hostname, nothing will happen.

Was this Tutorial helpful? Help others share on Facebook, Twitter, and Google Plus!

 
Enjoyed this video?
What is Molly Guard and how to install it
"No Thanks. Please Close This Box!"