DM(8)

๐Ÿ“ฆ
version 2.17 ยท 2 versions
, in nixos 26.05

๐ŸŽ€ NAME ๐ŸŽ€

okay so this is dm(8) from the System Manager's Manual โ€” section 8 energy, system-admin bestie territory. And the name is literally dm โ€” dungeon master. iconic, honestly. ๐Ÿ‘‘

โœจ SYNOPSIS โœจ

ln -s dm game

๐ŸŽฎ DESCRIPTION ๐ŸŽฎ

okay so dm is a program that regulates game playing โ€” like a little bouncer for your Unix games, no cap. ๐Ÿ•น๏ธ dm expects to be invoked with the name of a game that a user wishes to play. The way this works is by creating symbolic links to dm, in the directory /nix/store/fdil5s4rn5km9v17kr4qllsnq0rnfmv2-bsd-games-2.17/bin for all of the regulated games. slay.

The actual binaries for these games should be placed in a โ€œhiddenโ€ directory, /nix/store/fdil5s4rn5km9v17kr4qllsnq0rnfmv2-bsd-games-2.17/lib/games/dm, that may only be accessed by the dm program. it's giving secret VIP lounge for game binaries. ๐Ÿšชโœจ

dm determines if the requested game is available and, if so, runs it. simple as that, bestie. The file /etc/dm.conf controls the conditions under which games may be run. ๐Ÿ“

The file /etc/nogames may be used to โ€œturn offโ€ game playing. If the file exists, no game playing is allowed; the contents of the file will be displayed to any user requesting a game. so if someone tries to game and sees a whole message instead, that's why. ๐Ÿ™ˆ

๐Ÿ—‚๏ธ FILES ๐Ÿ—‚๏ธ

  • /etc/dm.conf โ€” configuration file. the rulebook, basically. ๐Ÿ“œ
  • /etc/nogames โ€” turns off game playing. the โ€œgo touch grassโ€ switch. ๐ŸŒฑ
  • /nix/store/fdil5s4rn5km9v17kr4qllsnq0rnfmv2-bsd-games-2.17/lib/games/dm โ€” directory of ``real'' binaries. the hidden stash. ๐Ÿซฃ
  • ./games.log โ€” game logging file. receipts! ๐Ÿงพ

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

  • dm.conf(5) โ€” go read that one too, bestie. ๐Ÿ”—

๐Ÿ•ฐ๏ธ HISTORY ๐Ÿ•ฐ๏ธ

The dm command appeared in 4.3BSD-Tahoe. vintage. iconic. historical main character behavior. ๐Ÿงšโœจ

๐Ÿ” SECURITY CONSIDERATIONS ๐Ÿ”

okay bestie, this part is serious โ€” listen up. ๐Ÿšจ

Two issues result from dm running the games setgid โ€œgamesโ€.

  • First, all games that allow users to run Unix commands should carefully set both the real and effective group ids immediately before executing those commands. like, carefully, fr fr. ๐Ÿซถ
  • Probably more important is that dm never be setgid anything but โ€œgamesโ€ so that compromising a game will result only in the user's ability to play games at will. so dm stays locked to โ€œgamesโ€, periodt. ๐Ÿ”’
  • Secondly, games which previously had no reason to run setgid and which accessed user files may have to be modified. yeah, that's a whole thing. ๐Ÿ’€

xoxo, ur Debian girlie ๐Ÿ’– โ€” package vibes dated May 31, 1993, page DM(8), signing off with a little ๐ŸŽ€ and a lot of respect for the classics. ๐ŸŒˆ

๐Ÿ“ฆ where this page comes from
  • nixos 26.05: bsd-games 2.17
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms