summaryrefslogtreecommitdiffstats
path: root/dm/dm.8
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-10 12:49:45 +0000
committerlukem <lukem@NetBSD.org>1997-10-10 12:49:45 +0000
commit01f8d1db18471a5d88884cc54ab794ba91fd75ac (patch)
tree0adc24f4731925c6b0f09b90324461dadc2f5398 /dm/dm.8
parent4af35eddcd99b72236d11e2354dd8fcd3b9f6e74 (diff)
downloadbsdgames-darwin-01f8d1db18471a5d88884cc54ab794ba91fd75ac.tar.gz
bsdgames-darwin-01f8d1db18471a5d88884cc54ab794ba91fd75ac.tar.zst
bsdgames-darwin-01f8d1db18471a5d88884cc54ab794ba91fd75ac.zip
WARNSify
Diffstat (limited to 'dm/dm.8')
-rw-r--r--dm/dm.818
1 files changed, 9 insertions, 9 deletions
diff --git a/dm/dm.8 b/dm/dm.8
index 69ac9621..8e0105b9 100644
--- a/dm/dm.8
+++ b/dm/dm.8
@@ -1,4 +1,4 @@
-.\" $NetBSD: dm.8,v 1.3 1995/03/21 15:09:04 cgd Exp $
+.\" $NetBSD: dm.8,v 1.4 1997/10/10 12:49:45 lukem Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,12 +43,12 @@
.Nm ln
.Fl s Cm dm Ar game
.Sh DESCRIPTION
-.Nm Dm
+.Nm
is a program used to regulate game playing.
-.Nm Dm
+.Nm
expects to be invoked with the name of a game that a user wishes to play.
This is done by creating symbolic links to
-.Nm dm ,
+.Nm "" ,
in the directory
.Pa /usr/games
for all of the regulated games.
@@ -57,9 +57,9 @@ The actual binaries for these games should be placed in a
directory,
.Pa /usr/games/hide ,
that may only be accessed by the
-.Nm dm
+.Nm
program.
-.Nm Dm
+.Nm
determines if the requested game is available and, if so, runs it.
The file
.Pa /etc/dm.conf
@@ -88,7 +88,7 @@ game logging file
.Xr dm.conf 5
.Sh BUGS
Two problems result from
-.Nm dm
+.Nm
running the games setuid
.Dq games .
First, all games that allow users to run
@@ -96,7 +96,7 @@ First, all games that allow users to run
commands should carefully
set both the real and effective user id's immediately before executing
those commands. Probably more important is that
-.Nm dm
+.Nm
never be setuid
anything but
.Dq games
@@ -106,6 +106,6 @@ had no reason to run setuid and which accessed user files may have to
be modified.
.Sh HISTORY
The
-.Nm dm
+.Nm
command appeared in
.Bx 4.3 tahoe .