Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Automatic audio permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
roan
n00b
n00b


Joined: 11 Jul 2002
Posts: 22

PostPosted: Wed Mar 12, 2003 10:15 pm    Post subject: Automatic audio permissions Reply with quote

The problem I have is that I often have more than one person logged in
at the same time on my computer, but only the first person who logs in
can use the sound device

The permissions for /dev/sound/* are set automaticaly to the first user
that logs in (is this done by devfs?). They are set to "user".audio: rw-------, that is only the logged in user can access the sound device. How can I change this so that for example any member of audio can access it?

Is there a way to get all logged in users use the same esound daemon?
It would be really nice if all sounds where mixed for all users. It seems
that some programs take control of the sound device even if they are not playing any sounds.

Robert Andersson
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Thu Mar 13, 2003 12:26 am    Post subject: Reply with quote

It is PAM that takes care of setting permissions, and it follows directives from /etc/security/console.perms.

"man console.perms" contains all you need to know...
as far as I recall, you need to change the line

<console> 0600 <sound> 0600 root.audio

to something like

<console> 0660 <sound> 0600 root.audio

...I believe.

Bye
Greg
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Mar 13, 2003 12:59 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum