Annotation of 43BSDReno/games/dm/dm.8, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1987 Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted provided
                      5: .\" that: (1) source distributions retain this entire copyright notice and
                      6: .\" comment, and (2) distributions including binaries display the following
                      7: .\" acknowledgement:  ``This product includes software developed by the
                      8: .\" University of California, Berkeley and its contributors'' in the
                      9: .\" documentation or other materials provided with the distribution and in
                     10: .\" all advertising materials mentioning features or use of this software.
                     11: .\" Neither the name of the University nor the names of its contributors may
                     12: .\" be used to endorse or promote products derived from this software without
                     13: .\" specific prior written permission.
                     14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     17: .\"
                     18: .\"    @(#)dm.8        5.8 (Berkeley) 6/26/90
                     19: .\"
                     20: .TH DM 8 "June 26, 1990"
                     21: .UC 8
                     22: .SH NAME
                     23: dm \- dungeon master
                     24: .SH SYNOPSIS
                     25: .B ln -s dm game
                     26: .SH DESCRIPTION
                     27: .I Dm
                     28: is a program used to regulate game playing.
                     29: .I Dm
                     30: expects to be invoked with the name of a game that a user wishes to play.
                     31: This is done by creating symbolic links to
                     32: .IR dm ,
                     33: in the directory ``/usr/games'' for all of the regulated games.
                     34: The actual binaries for these games should be placed in a ``hidden''
                     35: directory, ``/usr/games/hide'', that may only be accessed by the
                     36: .I dm
                     37: program.
                     38: .I Dm
                     39: determines if the requested game is available and, if so, runs it.
                     40: The file ``/etc/dm.conf'' controls the conditions under which games may
                     41: be run.
                     42: .PP
                     43: The file ``/etc/nogames'' may be used to ``turn off'' game playing.
                     44: If the file exists, no game playing is allowed; the contents of the file
                     45: will be displayed to any user requesting a game.
                     46: .SH FILES
                     47: .nf
                     48: .ta \w'/var/log/games.log 'u
                     49: /etc/dm.conf   \- configuration file
                     50: /etc/nogames   \- turns off game playing
                     51: /usr/games/hide        \- directory of ``real'' binaries
                     52: /var/log/games.log     \- game logging file
                     53: .SH SEE ALSO
                     54: dm(5)
                     55: .SH BUGS
                     56: Two problems result from \fIdm\fP running the games setuid ``games''.
                     57: First, all games that allow users to run UNIX commands should carefully
                     58: set both the real and effective user id's immediately before executing
                     59: those commands.  Probably more important is that \fIdm\fP never be setuid
                     60: anything but ``games'' so that compromising a game will result only in
                     61: the user's ability to play games at will.  Secondly, games which previously
                     62: had no reason to run setuid and which accessed user files may have to
                     63: be modified.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.