View previous topic :: View next topic |
Author |
Message |
roman n00b
Joined: 20 May 2002 Posts: 17
|
Posted: Thu May 23, 2002 8:01 am Post subject: Problem with permissions of /dev/sound/dsp |
|
|
Hallo,
I have a "problem" with permissons of /dev/sound/dsp.
When I boot, the file has "right" permissions:
Code: | crw-rw---- 1 root audio 14, 3 1970-01-01 /dev/sound/dsp |
After I log in as normal user with group audio enabled and start KDE,
the permissions of file are changed to:
Code: | crw------- 1 roman audio 14, 3 1970-01-01 /dev/sound/dsp |
When I logout from KDE the permissions are left to roman.
So as I log in KDE as another user, let's say guest also with audio
group enabled, this user can't use the sound anymore....
What is the solution? Or is this way of changing permissions to first
user, who use the audio, allright?
Roman. |
|
Back to top |
|
|
Guest
|
Posted: Fri May 24, 2002 2:22 pm Post subject: |
|
|
Edit /etc/security/consoleperms
I had the same problem (it is also needed for "floppy" access via mtools) |
|
Back to top |
|
|
roman n00b
Joined: 20 May 2002 Posts: 17
|
Posted: Mon May 27, 2002 7:42 am Post subject: |
|
|
thanx... |
|
Back to top |
|
|
Faffy n00b
Joined: 17 May 2002 Posts: 46
|
Posted: Tue May 28, 2002 11:32 pm Post subject: |
|
|
I have the exact same problem. Sound is working for root but, it does not work for other users.
What did you edit in console.perms.
I changed it to this:
Code: | <sound>=/dev/sound/dsp* /dev/audio* /dev/sound/midi* \
/dev/sound/mixer* /dev/sequencer* \
/dev/sound/* /dev/snd/* /dev/beep \
/dev/admm* \
/dev/adsp* /dev/aload* /dev/amidi* /dev/dmfm* \
/dev/dmmidi* /dev/sndstat |
(I replaced the /dev/dsp to /dev/sound/dsp and so on)
But it did not help.
I do not have alsa installed. I compiled my sound card module into the kernel.
Can someone tell me where to look? |
|
Back to top |
|
|
Faffy n00b
Joined: 17 May 2002 Posts: 46
|
|
Back to top |
|
|
bobo n00b
Joined: 18 Jul 2002 Posts: 10
|
Posted: Thu Jul 18, 2002 11:50 pm Post subject: The solution (I think) |
|
|
I found two minor glitches that were stopping pam_console from setting device ownerships correctly:
1. The console.perms file refers to groups cdwriter and usb, which are not in /etc/group. This causes pam to crash out in getgrnam.
2. The file /etc/pam.d was *missing* the pam_console entry. It needs the following line at the end:
session optional /lib/security/pam_console.so
Hope this helps! |
|
Back to top |
|
|
MPea3 n00b
Joined: 06 Jul 2002 Posts: 12 Location: atlanta, ga
|
Posted: Fri Jul 19, 2002 1:02 am Post subject: |
|
|
add your user name to the group audio |
|
Back to top |
|
|
SlCKB0Y Tux's lil' helper
Joined: 07 Jul 2002 Posts: 105 Location: Sydney, Australia
|
Posted: Fri Jul 19, 2002 3:43 am Post subject: |
|
|
MPea3 wrote: | add your user name to the group audio |
Yea this is what i did and it works fine |
|
Back to top |
|
|
|