Summary: | New idea for faq - Sound only works as root. | ||
---|---|---|---|
Product: | [OLD] Docs-user | Reporter: | Roske <roske> |
Component: | Gentoo Linux FAQ | Assignee: | Sven Vermeulen (RETIRED) <swift> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Roske
2003-05-24 17:16:47 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* 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. 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. Don't see a strong reason to change this. |