Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21639 - New idea for faq - Sound only works as root.
Summary: New idea for faq - Sound only works as root.
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux FAQ (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-24 17:16 UTC by Roske
Modified: 2003-07-03 02:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roske 2003-05-24 17:16:47 UTC
This is just a idea to add to faq - Sound only works for root.

Reproducible: Always
Steps to Reproduce:




Thought this could be helpful under DNS name resolution works for root only. 

/dev/dsp* and /dev/mixer* have the wrong permissions; chmod it as follows:

chmod 666 /dev/dsp*
chmod 666 /dev/mixer*

Tell me what you think!
Comment 1 Roske 2003-05-24 17:18:10 UTC
I should make sure and look over this better....

Sound only works for root.

/dev/dsp* and /dev/mixer* have the wrong permissions; chmod them as follows:

chmod 666 /dev/dsp*
chmod 666 /dev/mixer*
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2003-05-25 05:56:15 UTC
Won't work. First of all, permissions on the devices are handled by PAM. If you log 
in as a user, the permissions on the audio-devices will get set to that user. If you log 
out, default permissions will be set again. Chmodding would only work as long as 
you are logged in. 
 
Second, you should be able to play music etc... after you made yourself part of the 
audio group.  
 
Third, all this is handled in /etc/pam.d/console.perms. 
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2003-06-30 00:35:12 UTC
The FAQ currently says that, when you add a new user to your system, you should do it with the following command:

"""
# useradd gentoo -m -G users,audio,wheel -s /bin/bash
"""

It explains this with:

"""
This will add a user gentoo, will make possible for him to use sound-related devices (/dev/sound/*), will make possible for him to switch to root (using su) and will make /bin/bash his login shell.
"""

So although not mentioned explicitly, it is mentioned. I'd say to leave it this way. I'm going to mark this as WONTFIX unless there are strong objections.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2003-07-03 02:23:28 UTC
Don't see a strong reason to change this.