perms of /dev/uhid0

Matt Piechota piechota at argolis.org
Wed Nov 26 07:28:36 PST 2003


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


More information about the freebsd-security mailing list