From owner-freebsd-questions@FreeBSD.ORG Wed May 14 10:58:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DB7537B401 for ; Wed, 14 May 2003 10:58:44 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C48FF43F3F for ; Wed, 14 May 2003 10:58:42 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h4EHwXJG069738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 May 2003 18:58:33 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h4EHwXM1069737; Wed, 14 May 2003 18:58:33 +0100 (BST) (envelope-from matthew) Date: Wed, 14 May 2003 18:58:33 +0100 From: Matthew Seaman To: Paul Everlund Message-ID: <20030514175833.GA69479@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Paul Everlund , freebsd-questions@freebsd.org References: <3EC0F4A9.8090402@cs.umu.se> <20030514125405.GA66857@happy-idiot-talk.infracaninophile.co.uk> <3EC24239.1030200@cs.umu.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <3EC24239.1030200@cs.umu.se> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-38.8 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.53 X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp) cc: freebsd-questions@freebsd.org Subject: Re: Restricting users from playing games X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2003 17:58:45 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 14, 2003 at 03:18:49PM +0200, Paul Everlund wrote: > Matthew Seaman wrote: > >On Tue, May 13, 2003 at 03:35:37PM +0200, Paul Everlund wrote: > > > >>Hi! > >> > >>I would like to restrict the users in a company from playing > >>games (KDE), but the VP should be able to. :-) > >> > >>What is the best/easiest way to do this? > >> > >>I've been thiking of putting the VP in her own group, lets > >>call it vp, and do a chgrp to vp on the games, with an addi- > >>tional chmod o-rx. > >> > >>The only drawback I've come up with (which I've not tested > >>if this is the case), is that when upgrading KDE it will in- > >>stall the games in the group wheel again. Can this be pro- > >>hibited in some way, that is, when upgrading kdegames, it > >>will install those games in the group vp instead of wheel? > > > > > >You might find the dm(8) and dm.conf(5) man pages interesting... > dm looks interesting! But... It says that games should be put in > /usr/games/hide directory of ``real'' binaries > and KDE-games are located in /usr/local/bin. Does this mean I have > to relocate all KDE-games to /usr/games/hide? Or can one put sym- > bolic links in /usr/games/hide to the KDE-games? Yes --- the general idea is that you move the real game binary into /usr/games/hide and replace it with a symbolic link to /usr/games/dm: as far as the users are concerned they see the sym-link as if it was the original program, if they are members of the 'games' group. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+woPJdtESqEQa7a0RAidHAKCOMOn75RzBIS2epLE6tDodQArEcACfU9v5 HdA+LGO4vtmN7SfrknnQxMQ= =kElD -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--