[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to restrict (audio) device permissions to a group?
On Monday, November 14, 2011 6:53 PM, "Mayuresh" <mayuresh%acm.org@localhost>
> On Mon, Nov 14, 2011 at 09:15:58AM +0100, Ignatios Souvatzis wrote:
> > On Sun, Nov 13, 2011 at 01:16:07AM +0530, Mayuresh wrote:
> > > While trying to get audio work on NetBSD I realize the audio
> > > device is writable to all.
> > >
> > > Can the use of audio device be restricted to a group of users
> > > only? (I am not really looking for who-ever-logs-in-at-desktop-gets-
> > > permissions stuff. Just looking for statically defined
> > > perbmissions using group membership.)
> > By normal file permissions, applied to the audio devices. In case
> > you have only one audio device:
> > chmod o-rwx /dev/audio0 /dev/audioctl0 /dev/sound0 chmod g+rwx
> > /dev/audio0 /dev/audioctl0 /dev/sound0
> Where to put such commands so that this happens on every boot?
Last I checked, the default was to store /dev on the root filesystem so
that modifications (like changes to permissions) persist across reboots.
Main Index |
Thread Index |