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

audio device permissions (was Re: rvplayer works only as root



On Mon, 28 Sep 1998, Michael Stone wrote:

>Quoting Richard E. Hawkins Esq. (hawk@eyry.econ.iastate.edu):
>> the permissions on /dev/dsp may not be right.  try 
>[snip] 
>> should be 
>> 
>>   0 crw-rw-rw-   1 root     root      14,   3 Sep 18 19:11 /dev/dsp
>
>Umm, no, they should be 660 root.audio. On a single user system, it
>might not matter (much), but that doesn't mean 666 is anything but the
>sign of the beast.
>

just to give one example why world read-write on the audio devices is a
Bad Thing - suppose someone were to remotely access your machine over the
internet or even from another office and start reading your audio device?
well if you have a microphone hooked up they can eavesdrop onto everything
thats happening around your PC with you none the wiser.


be careful with permissions!

- dave

--

   |     oOOooO           /  
 --|    oOobodoO        /   dsb3@earthlink.net
 --|     ooOoOo       /    
   |       II       /     "Rocky Road," croaked the toad.
   |       II     /      



Reply to: