From owner-freebsd-hackers Thu Feb 1 14:14: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by hub.freebsd.org (Postfix) with ESMTP id 6D3CD37B65D for ; Thu, 1 Feb 2001 14:13:51 -0800 (PST) Received: from fwd03.sul.t-online.com by mailout02.sul.t-online.com with smtp id 14ORxF-0001EZ-03; Thu, 01 Feb 2001 23:11:49 +0100 Received: from frolic.no-support.loc (520094253176-0001@[217.0.156.210]) by fmrl03.sul.t-online.com with esmtp id 14ORwz-2415f6C; Thu, 1 Feb 2001 23:11:33 +0100 Received: (from bjoern@localhost) by frolic.no-support.loc (8.11.1/8.9.3) id f11M0CB02910; Thu, 1 Feb 2001 23:00:12 +0100 (CET) (envelope-from bjoern) From: Bjoern Fischer Date: Thu, 1 Feb 2001 23:00:12 +0100 To: Mario Sergio Fujikawa Ferreira Cc: freebsd-hackers@FreeBSD.ORG, poool@terra.com.br, pablos@linf.unb.br, infax@bol.com.br Subject: Re: a mtools wrapper (slight better control) Message-ID: <20010201230012.B2788@frolic.no-support.loc> References: <20010201142813.A659@Fedaykin.here> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010201142813.A659@Fedaykin.here>; from lioux@uol.com.br on Thu, Feb 01, 2001 at 02:28:13PM -0200 X-Sender: 520094253176-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I need to enable a group of workstations running XDM > accesses to local disk floppies with FAT16/32 FS(es). Therefore, I > considered ports/emulators/mtools. > All users will have access to the floppy drives. > All workstations will permit remote shell emulation > (sshd,...). Thus, there can be a local and several remote users > on all workstations. > > HOWEVER, I would like to only permit the local > logged user accesses to the floppy through mtools. I need this > because this lab is considered hostile environment and remote > users might try to be fun destroying other ppls floppy files. > Before, I get any complains I considered doing something. Hmm, why not simply giving /dev/fd0 to the user (chown) as it is being done with /dev/console in /lib/X11/xdm/GiveConsole, and taking it away in /lib/X11/xdm/TakeConsole? Bjoern -- -----BEGIN GEEK CODE BLOCK----- GCS d--(+) s++: a- C+++(-) UB++++OSI++++$ P+++(-) L---(++) !E W- N+ o>+ K- !w !O !M !V PS++ PE- PGP++ t+++ !5 X++ tv- b+++ D++ G e+ h-- y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message