My cat managed to crash a fresh install of Debian Stable to an unrecoverable state, just by walking across the keyboard.
I had to reinstall, but of course she still got treats for doing such a good job as software tester.
I don't know of a Linux equivalent, though I'd swear I remember something similar that was targeted at the author's young 2-year-old daughter, was named after her, but which I cannot now find.
I tried to keep her off my stuff in the beginning. But she's more stubborn than I am, and keeps trying again, for hours and days if necessary. At some point I just gave up.
Now, when she wants to sit down on the keyboard, I quickly lock it and accept that it's time for a break and some scritches.