RE: https://mastodon.coffee/@xinit/117642796429686855
So about 30 years ago I inherited a MIPS machine that used to run DEC Ultrix. And naturally I scrubbed Ultrix and installed #NetBSD on it. This almost immediately cleared up a mystery I'd found in #Linux systems for years: `/usr/games/wargames`
Every so often I would find it on a system and run it, and it would ask me if I wanted to play a game. Just like the movie! And if I typed in `yes`, it would say `A STRANGE GAME: THE ONLY WAY TO WIN IS NOT TO PLAY` Just like the movie!!!! If I typed an actual installed game, it would run that.
I thought it was an odd easter egg nobody understood any more, and moved on. But then when I was looking at my new NetBSD system, I noticed an account.
Username, `falken`. Password, `joshua`. Shell, `/usr/games/wargames`.
Suddenly it made sense. I could let anyone into my system to play any game, so long as they knew this pattern. I could decide that this account can only log in after-hours. I imagined VAX systems at UC Berkeley across the bay from me, sitting there in 1989 waiting for the clock to tick over and people from all over the world would telnet in to play rogue or atc.
The 2.11BSD version has an allowlist, but more recent ones just run anything in /usr/games/. https://www.tuhs.org/cgi-bin/utree.pl?file=2.11BSD/games/wargames
Also, Ultrix never managed to get shared memory working, so NetBSD ran smaller and faster than the system had been before. Wild stuff.