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

Re: volume control



Michael Soulier <msoulier@storm.ca> writes:
> On 28 Jul 2000, Gary Hennigan wrote:
> 
> > I'm glad that worked. The Debian Way (TM) to do this, by the way, is
> > to:
> > 
> > chmod 660 /dev/mixer*
> > chown root.audio /dev/mixer*
> > 
> > and then add the users that you want to allow access to the audio
> > group. A lot of the things devices in /dev work this way.
> > 
> 
> 	I don't have to do a newgrp to be a member of that group, do I?
> 
> lupus:~# chmod 660 /dev/mixer
> lupus:~# ll /dev/mix*
> crw-rw----    1 root     audio     14,   0 Sep  8  1999 /dev/mixer
> crw-rw----    1 root     audio     14,  16 Sep  8  1999 /dev/mixer1
> 
> lupus:/etc# groups msoulier
> msoulier : msoulier
> lupus:/etc# adduser msoulier audio
> Adding user msoulier to group audio...
> Done.
> lupus:/etc# groups msoulier
> msoulier : msoulier audio
> 
> 	But now it doesn't work. 
> 
> 	However, if I manually change groups...
> 
> [msoulier@lupus msoulier]$ groups      
> msoulier
> [msoulier@lupus msoulier]$ groups msoulier
> msoulier : msoulier audio
> [msoulier@lupus msoulier]$ newgrp audio
> [msoulier@lupus msoulier]$ groups
> audio msoulier
> [msoulier@lupus msoulier]$ xmms &
> 
> 	It works fine. Do I have to do a newgrp every time? That's kind of
> annoying. 

No, but you may have to log out and log back in after you've added
yourself to the group. Then do an "id" and one of the groups should be
audio. If it is then you should be set.

Gary



Reply to: