From owner-freebsd-stable Wed Aug 5 04:25:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA00791 for freebsd-stable-outgoing; Wed, 5 Aug 1998 04:25:01 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from tyree.iii.co.uk (tyree.iii.co.uk [195.89.149.230]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA00780 for ; Wed, 5 Aug 1998 04:24:58 -0700 (PDT) (envelope-from nik@iii.co.uk) From: nik@iii.co.uk Received: from carrig.strand.iii.co.uk (carrig.strand.iii.co.uk [192.168.7.25]) by tyree.iii.co.uk (8.8.8/8.8.8) with ESMTP id MAA02616; Wed, 5 Aug 1998 12:24:43 +0100 (BST) Received: (from nik@localhost) by carrig.strand.iii.co.uk (8.8.8/8.8.7) id MAA23042; Wed, 5 Aug 1998 12:24:16 +0100 (BST) Message-ID: <19980805122416.A22993@iii.co.uk> Date: Wed, 5 Aug 1998 12:24:16 +0100 To: Jasper Wallace , freebsd-stable@FreeBSD.ORG Subject: Re: Install *actually* friendly References: <199808050244.TAA09949@freebie.dcfinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Jasper Wallace on Wed, Aug 05, 1998 at 12:12:47PM +0200 Organization: interactive investor Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Aug 05, 1998 at 12:12:47PM +0200, Jasper Wallace wrote: > on my machine at home I've got: > > chown $USER /dev/fd0a > > in /usr/X11R6/lib/X11/xdm/GiveConsole and > > chown root /dev/fd0a > > in /usr/X11R6/lib/X11/xdm/TakeConsole > > so that when people log in via xdm they can mount and use floppies without > being root (and some have pretty icons on their dsesktops to do it for > them...) For people not using xdm you can use fbtab(5), mine has /dev/ttyv0 0600 /dev/console:/dev/fd0a Anyone logging in on /dev/ttyv0 will get ownership of /dev/console and /dev/fd0a, with the permissions on these devices set appropriately. This functionality is part of /usr/bin/login. It might make sense to split it out into a separate program, and alter both login and TakeConsole to call this program, so that the functionality is only in one place. Thoughts? I suppose it's also possible that xdm uses login, in which case this functionality already exists -- I don't run xdm. N -- "Being a naval officer is more than being a middle manager in a company with a strict dress code." -- Paul Tomblin, in the Scary Devil Monastery To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message