DM(8)
๐ 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
dmnever be setgid anything but โgamesโ so that compromising a game will result only in the user's ability to play games at will. sodmstays 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
- Copyright (c) 1987, 1991, 1993 The Regents of the University of California. All rights reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms