[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sound as non-root?



Ron Farrer <rbf@farrer.net> writes:
> Sound works great on my potato system as root, but I have permission
> problems as a normal user. Is there a way I can make it so a normal user
> can play sounds/music? 

Yes, add them to the audio group. You can see what group a particular
device is in by long-listing the device, for example:

% ls -l /dev/audio
crw-rw----    1 root     audio     14,   4 Nov 19 08:43 /dev/audio

So, anyone in the "audio" group can write to the audio device. Just
add the user to the audio group, eg.,

% adduser blahblah audio

would add the user "blahblah" to the "audio" group.

Gary


Reply to: