home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:5194 comp.mail.mh:1263
- Path: sparky!uunet!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.unix.programmer,comp.mail.mh
- Subject: Re: setuid programs and calls...
- Date: 6 Nov 1992 17:21:21 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 14
- Message-ID: <1de9ihINN98v@early-bird.think.com>
- References: <1992Nov5.220832.3217@spectrum.xerox.com>
- NNTP-Posting-Host: telecaster.think.com
-
- In article <1992Nov5.220832.3217@spectrum.xerox.com> leisner.henr801c@xerox.com writes:
- >I don't understand why it can't find the shared library doing setruid
- >instead of setuid (I see nothing else different (except for the i).
-
- LD_LIBRARY_PATH and LD_PRELOAD environment variables are ignored by the
- dynamic linker in setuid processes, which are defined to be processes whose
- real and effective uids are not equal. This is done to prevent users from
- providing their own version of a system library that includes Trojan horse
- code.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-