home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!mcsun!Germany.EU.net!murignis!ap542!D012S436!frank
- From: frank@D012S436.sniap.mchp.sni.de ()
- Subject: Re: Sticky bit/environment question
- Message-ID: <1992Aug21.094003.1030@sniap.mchp.sni.de>
- Sender: news@sniap.mchp.sni.de (News Admin)
- Organization: Siemens-Nixdorf AG
- References: <1992Aug5.193814.12436@gwl.com>
- Date: Fri, 21 Aug 92 09:40:03 GMT
- Lines: 33
-
- mmas@gwl.com (Mark Mastandrea) writes:
- :
- : Hi,
- :
- : I have an executable that needs to run as root and also needs to have
- : its LD_LIBRARY_PATH environment variable set so it can find some shared
- : libraries that it needs. I set the LD_LIBRARY_PATH under root to point to
- : the right path and then ran the executable as root. This works fine.
- : I then make root the owner and set the sticky bit . Now when I run
- : the executable as another user the application cannot find the shared
- : library. Both the user and roots environment have LD_LIBRARY_PATH set
- : but this seems to be ignored. Has anyone any ideas ? Please email
- : me at mmas@gwl.com .
- :
- : Thanks in advance
- :
- : Mark
-
-
- I tried to email, but it bounced. You don't say what system you're
- working on, but under SVR4 my understanding is that SUID/SGID programs
- can only use shared libraries in "trusted" directories. For now,
- I believe this means "/usr/lib" and "usr/ccs/lib". Chances are
- your libraries are elsewhere.
-
-
- Hope this helps,
- Frank.
- --
- Frank O'Dwyer Disclaimer:
- Siemens-Nixdorf AG I will deny everything
- Tel. : +49 (89) 636-40639 Fax. : +49 (89) 636-45860
- e-mail: Frank.ODwyer@sniap.mchp.sni.de
-