bug in speakup

Toby Fisher toby_fisher at bigfoot.com
Thu Jun 6 21:11:56 EDT 2002


On Thu, 6 Jun 2002, Ryan Mann wrote:

> Hi.  I've noticed that any user can change speakup synth parameters
> whether they are root or not by editing files in the /proc/speakup
> directory.
> For example, if a regular user does something like echo 0 >
> /proc/speakup/volume the volume of the synthesizer will be changed to
> zero.
> Is there any way to get around this?  Thanks.

Hmmm, well if I remember my unix file system university lectures
correctly, you can remove the ability to see a file or directory by
removing the read permission for it, so that the permitions would be
something like:
drxxx
I think you'd need to set something like 711 permitions with chmod.

It wouldn't stop someone going in there, so you could still modify the
files because you know the directory is there, however unless someone
knows the exact name of the directory, they'll never find it.

If you were going to do this, however, you'd needto put the chmod command
into your startup scripts somewhere, as the /proc file system is
non-transient.

HTH

-- 
Toby Fisher	Email: toby at g0ucu.freeserve.co.uk
Tel.: +44(0)1480 417272	Mobile: +44(0)7974 363239
ICQ: #61744808
   Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html






More information about the Speakup mailing list