MarcoMC Tech, Cuisine, Traveling…my hobbies, my life

May 23, 2010

Dead Men’s Switch with OS X Server

Filed under: Apple & Mac,IT — Tags: , , , , — marcomc @ 13:28

Dead men’s switch (name taken from the railroad industry) is a technique you can use to protect yourself against accidental lockout while configure firewalls.

A dead men’s switch enables a service but allows the administrator a temporary backdoor to remediate a temporary lockout.

i.e. on Mac OS X Server 10.6 Snow Leopard with bash in command line:

# sudo ls; sleep 90; sudo serveradmin start ipfilter; sudo server admin stop ipfilter

this process will enable the firewall and automatically disable the firewall in 90 seconds.

Comments

comments

Powered by Facebook Comments

Powered by WordPress