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.
Powered by Facebook Comments