Rechercher une page de manuel
dm
Langue: en
Version: 51454 (openSuse - 09/10/07)
Section: 8 (Commandes administrateur)
BSD mandoc
NAME
dm - dungeon masterSYNOPSIS
ln -s dm gameDESCRIPTION
ln is a program used to regulate game playing. ln expects to be invoked with the name of a game that a user wishes to play. This is done by creating symbolic links to , in the directory /usr/games for all of the regulated games. The actual binaries for these games should be placed in a ``hidden'' directory, /usr/lib/games/dm that may only be accessed by the ln program. ln determines if the requested game is available and, if so, runs it. 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.
FILES
- /etc/dm.conf
- configuration file
- /etc/nogames
- turns off game playing
- /usr/lib/games/dm
- directory of ``real'' binaries
- /var/games/games.log
- game logging file
SEE ALSO
dm.conf5HISTORY
The ln command appeared in BSD 4.3 tahoeSECURITY CONSIDERATIONS
Two issues result from ln 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. Probably more important is that ln never be setgid anything but ``games'' so that compromising a game will result only in the user's ability to play games at will. Secondly, games which previously had no reason to run setgid and which accessed user files may have to be modified.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre