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

Re: Simultaneous sound for 2 users under f7



Olaf Mueller wrote:
> Hi,
> 
> two users logged in at the same time on pc A, one user local and the
> other by x-terminal from pc B on the local network, can play sound
> under fc6 on the soundcard of pc A if root is doing the
> commands 'chmod 0660' and 'chown root.audio' on the following files on
> pc A:
> 
> /dev/dsp* /dev/audio* /dev/midi* \
> /dev/mixer* /dev/sequencer* /dev/sound/* /dev/beep* \
> /dev/snd/* /dev/adsp* /dev/admm* /dev/aload* \
> /dev/amidi* /dev/dmfm* /dev/dmmidi* /dev/sndstat*
> 
> This little hack doesn't work any more under fedora 7.
> So what is the trick under f7 to allow two users to play sound
> alternately if they are logged in at the same time?
> 
> And what is the meaning of '+' in 'crw-rw----+ 1 root audio 14, 4 16.
> Okt 06:46 /dev/audio' under f7?
> Thanks a lot.
> 
> 
> regards
> Olaf
> 
Part of the problem is that the permissions of these devices are
controlled by console.perms, so that your changing the permissions
only lasts until someone logs into or out of the local console. When
the first non-root user logs into the local console, the ownership
is set to that user. When they log out, they are set back to the
default ownership/permissions. The values used are specified in
/etc/security/console.perms.d/50-default.perms. but you can create
your own file to override the permissions you want. This is covered
in the console.perms and pam_console man pages.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


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