Hi icehenge,
It's normal if you can't access /dev/dsp... Nonetheless everything is well configured
. In fact when you try to access /dev/dsp it's with GID 100 (users one) if you don't believe me type:
Code:
[olivier@Olinux-lfs ~]$ id
uid=1000(olivier) gid=100(users) groups=100(users),11(audio)
you'll see that you belong to users and audio group but that's users id which is in use. And you can't belong to two groups at the same time because you can't have 2 different GID at the same time. So to change group type:
Code:
[olivier@Olinux-lfs ~]$ newgrp audio
[olivier@Olinux-lfs ~]$ id
uid=1000(olivier) gid=11(audio) groups=100(users),11(audio)
And you now belong to audio group so you can access /dev/dsp
The annoying thing with this method is for users who hate text mode and only use graphical mode to run applications. As a matter of fact, when you start your application from your menu, default GID will be used. So you'll have to modify the way to start audio applications...
Of course there's another solution
a bit less secure, but it's a good alternative. Edit /etc/login.defs file and enable this option:
Code:
# Use with caution - it is possible for users to gain permanent
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
CONSOLE_GROUPS audio
I've never tested it but I think this'll work
A last advice, have a look at gpasswd command (and his man page)... It may be very helpful, to set or not passord for groups...
Oliv'