From owner-freebsd-security@FreeBSD.ORG Wed Nov 26 07:28:36 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 351EF16A4CE for ; Wed, 26 Nov 2003 07:28:36 -0800 (PST) Received: from gigatrex.com (saraswati.gigatrex.com [64.5.48.159]) by mx1.FreeBSD.org (Postfix) with SMTP id 7D5D143FD7 for ; Wed, 26 Nov 2003 07:28:34 -0800 (PST) (envelope-from piechota@argolis.org) Received: (qmail 8837 invoked from network); 26 Nov 2003 15:28:28 -0000 Received: from unknown (HELO cithaeron.argolis.org) (141.156.46.123) by saraswati.gigatrex.com with SMTP; 26 Nov 2003 15:28:28 -0000 Received: from cithaeron.argolis.org (localhost [127.0.0.1]) hAQFSVpf023288; Wed, 26 Nov 2003 10:28:31 -0500 (EST) (envelope-from piechota@argolis.org) Received: from localhost (piechota@localhost)hAQFSVTF023285; Wed, 26 Nov 2003 10:28:31 -0500 (EST) X-Authentication-Warning: cithaeron.argolis.org: piechota owned process doing -bs Date: Wed, 26 Nov 2003 10:28:31 -0500 (EST) From: Matt Piechota To: Mike Tancsa In-Reply-To: <6.0.1.1.0.20031126101602.06e8e9f0@209.112.4.2> Message-ID: <20031126102631.L16087@cithaeron.argolis.org> References: <6.0.1.1.0.20031126101602.06e8e9f0@209.112.4.2> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-security@freebsd.org Subject: Re: perms of /dev/uhid0 X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Nov 2003 15:28:36 -0000 On Wed, 26 Nov 2003, Mike Tancsa wrote: > gastest# ls -l /dev/uhid0 > crw-rw---- 1 root operator 122, 0 Nov 12 05:26 /dev/uhid0 > gastest# > > Is it safe to chmod o+r /dev/uhid0 ? Or is there a better way to drop > privs of the daemon yet still be able to read from the device ? Maybe I'm a bit off, but: wouldn't it be okay to 'chgrp upsmon /dev/uhid0' in usbd.conf, and make a upsmon user and group to run the daemon under? -- Matt Piechota