NetBSD-Users archive

[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 Mon, Nov 14, 2011 at 06:53:45PM +0530, Mayuresh wrote:
> > 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?

You don't have to do anything.

I usually add those commands to "/dev/MAKEDEV.local" so that they
survive the next full operating system update.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index