Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!julius.cs.uiuc.edu!apple!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU Newsgroups: comp.windows.x Subject: Re: xterm not setuid? Message-ID: <9009050653.AA03612@Larry.McRCIM.McGill.EDU> Date: 5 Sep 90 06:53:19 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 18 > I installed X11R4 library under SunOS 4.1 in a directroy other than > /usr/lib. Everything seems fine except xterm cannot find the > required shared libraries. Funny, we had no problem under 4.1. We didn't even have to run ldconfig. (Not unless "make World" did that for us and I didn't notice.) Well, in any case.... My advice would be to link the setuid/setgid programs (xterm, xload, I think there's one other) with -Bstatic, to make them independent of the dynamic libraries. You can turn off xterm's setuid bit, but then it will be unable to write entries in utmp (unless you make utmp world-writable, which opens up other security holes). der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu