> Try 'ls -ltr /dev/dsp'
>
> You'll see that it's (likely) owned by root and the group is audio.
>
> Put the required users into the audio group (groupmod -G audio $user)
> and have them logout/in.
>
> Security is there for a reason, 666 is the number of the beast - not an
> acceptable parameter to chmod.

this doesn't work on my RH8.0 system,
ls -la /dev/dsp
crw-------    1 airlied  root      14,   3 Aug 31  2002 /dev/dsp
RH has chowned it to me because I'm logged in on the console but if I log
off it gets set to 600 and root.root the proper way i suppose on RH8.0 is
to edit /etc/console.perms, and add new classes for ssh terminals to make
the /dev/dsp become 660 and add an audio group..

needless to say my first answer works for a simple system with only one
user playing mP3s in all cases on all flavours of Linux, but logging in
and out an RH console will mess it up again.. aarrggh... so there probably
is no one true answer..

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / [EMAIL PROTECTED]
pam_smb / Linux DECstation / Linux VAX / ILUG person

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to