On Tue, 2002-04-30 at 10:23, Nate Carlson wrote:
> On Tue, 30 Apr 2002, Clay Fandre wrote:
> > Anyone have VMware 3.1 for Linux working with esd? (ala esddsp?)
> > VMware's website says this should work, but I keep getting "/dev/dsp
> > busy" errors when starting "esddsp vmware". Any ideas?
> 
> Need to set the suid bit on esddsp -- VMWare runs as root, so esddsp needs
> to run as root, too.. at least, that's the best I was able to figure it
> out.

Yeah, I bet it's something along those lines.  esddsp uses the
LD_PRELOAD trick, telling the system to load an extra library that
intercepts writes to /dev/dsp.  To prevent people from using this
technique to access things they shouldn't, any program that is set-uid
root and started by a user won't honor the LD_PRELOAD environment
variable.

I'm surprised, though, that vmware doesn't just have an option in the
configuration somewhere to use esd..

-- 
 _  _  _  _ _  ___    _ _  _  ___ _ _  __   RTFM?!? But I can't even
/ \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   _find_ TFM!!
\_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)  
[ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020430/84513a70/attachment.pgp