-.\" $NetBSD: dm.8,v 1.5 1998/04/28 06:00:52 fair Exp $
+.\" $NetBSD: dm.8,v 1.6 1998/06/08 12:41:41 lukem Exp $
.\"
.\" Copyright (c) 1987, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.El
.Sh SEE ALSO
.Xr dm.conf 5
-.Sh BUGS
-Two problems result from
+.Sh HISTORY
+The
+.Nm
+command appeared in
+.Bx 4.3 tahoe .
+.Sh SECURITY CONSIDERATIONS
+Two issues result from
.Nm
-running the games setuid
+running the games setgid
.Dq games .
First, all games that allow users to run
.Ux
commands should carefully
-set both the real and effective user id's immediately before executing
-those commands. Probably more important is that
+set both the real and effective group id's immediately before executing
+those commands.
+Probably more important is that
.Nm
-never be setuid
-anything but
+never be setgid anything but
.Dq 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 setuid and which accessed user files may have to
-be modified.
-.Sh HISTORY
-The
-.Nm
-command appeared in
-.Bx 4.3 tahoe .
+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.