Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!sun-barr!newstop!sun!sun.com From: david@sun.com (KILL THE ARTICHOKES!!!!!) Newsgroups: comp.windows.x Subject: Re: Problems using R4 xterm on sparcstation1 Message-ID: <129952@sun.Eng.Sun.COM> Date: 6 Jan 90 02:42:20 GMT References: <8023@portia.Stanford.EDU> Sender: david@sun.Eng.Sun.COM Lines: 18 In article <8023@portia.Stanford.EDU> drapeau@jessica.Stanford.EDU (George D. Drapeau) writes: >I have LD_LIBRARY_PATH set to "/usr/local/X11R4/lib:/usr/lib" ... >However, if as root I unset the setuid bit for xterm (i.e., if I do >"chmod u-s /usr/local/X11R4/bin/xterm"), then ldd shows me the shared >libraries as I'd expect. > >One more thing: if I am root, then ldd returns what I'd expect >whether or not the setuid bit on xterm is set. LD_LIBRARY_PATH is not honored for setuid programs (it would be a security hole). -- David DiGiacomo, Sun Microsystems, Mt. View, CA sun!david david@eng.sun.com