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

Re: /dev/dsp



On Sunday 10 of August 2003 01:39, Colin Watson wrote:
> On Sat, Aug 09, 2003 at 07:22:51PM -0400, Nyc0n wrote:
> > I normally do a chmod 777 /dev/dsp and it works fine, might be a
> > security violation though...not sure...
>
> A friend of mine did that once and realized the error of his ways when
> some people with accounts on his machine decided to wake him up in the
> middle of the night by playing loud noises through his speakers. :)

Good idea is to use pam_group module to add user to audio group in login, kde 
(but not ssh :) ) pam configuration.

"auth       optional   pam_group.so"  in /etc/pam.d/kdm (or kde; depends on 
compile time settings)  and "*;*;*;Al0000-2400;audio" in 
/etc/security/group.conf will give audio group privileges to users logging in 
using kdm.

-- 
Mariusz Zielinski



Reply to: