Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!snorkelwacker!bloom-beacon!ZIA.AOC.NRAO.EDU!cflatter From: cflatter@ZIA.AOC.NRAO.EDU (Chris Flatters) Newsgroups: comp.windows.x Subject: Re: xterm not setuid? Message-ID: <9009051606.AA06943@zia.aoc.nrao.edu> Date: 5 Sep 90 16:06:56 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16 > 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. I understand the problem is because xterm > is setuid and ld only looks at /usr/lib for setuid programs. I guess > my problem is whether there is a way to make xterm not setuid? or > force ld to look in other directories? (with potential security > problems). The way I am running it now is to make symbolic links in > /usr/lib to point to the correct libraries, I am wondering if there is > an easier way to do this. You could also specify the directory containing the X11 libraries using the -L option to cc when you build xterm. The OS then treats this directory a "trusted" as far as xterm is concerned. Chris Flatters