6 ms·
That's where molly-guard[1] comes in; stops (or at least confirms) shutdown on protected hosts. Named after the Big Red Button Cover of hacker-lore[2]. I've he
by shabble 14y ago
That's where molly-guard[1] comes in; stops (or at least confirms) shutdown on protected hosts. Named after the Big Red Button Cover of hacker-lore[2].
I've heard of people doing things like having a terminal background colour escape sequence in their login scripts as well, so it's immediately obvious if you're on a production host.
[1] http://manpages.ubuntu.com/manpages/natty/man8/molly-guard.8.html http://manpages.ubuntu.com/manpages/natty/man8/molly-guard.8...
[2] http://www.catb.org/jargon/html/M/molly-guard.html http://www.catb.org/jargon/html/M/molly-guard.html
- jlgaddis 14y agoMy $PS1 always contains the hostname of the machine I'm SSH'd into IN ALL CAPS so that I never do this (again).
- shabble 14y agoGiven the well-established treachery of my finger muscle-memory, I'm much more comfortable with a hard interlock than something that relies on me checking the prompt. Definitely better than nothing though.