From: "John Goodbody" <a@a.com>
Subject: Re: LD_LIBRARY_PATH mangled on SUID program
Date: 2000/02/04 [thread overview]
Message-ID: <87euve$ace@romeo.logica.co.uk> (raw)
In-Reply-To: 87cab9$h5v$1@news.gov.on.ca
Yes, we hit this problem and assumed it was a 'bug' although I now see that
it could be a valid security precaution.
We have control of the source code of the the program which calls setuid /
setgid and coded it to strip off the first 8 bytes of LD_LIBRARY_PATH and
then re-set it with setenv. Not very pleasant, but it works (for now...).
John.
Richard wrote in message <87cab9$h5v$1@news.gov.on.ca>...
>Dear List:
>
>This is the second time I have run into this. Does anyone have a work
>around?
>
>I have a user with a particular LD_LIBRARY_PATH variable set. I want the
>user to run a program with 4755 protection. The LD_LIBRARY_PATH of the
user
>wishing to run the program becomes mangled by a prepended string which
>appears as follows when it is od'd from an output file.
>
> del 2 1 2 del 1 8 1
>
>when echoed to the screen it is: j212j181 (the j's have 2 dots above each)
>
>Any help or guidance or even explanation would be appreciated.
>
>I am running Compaq Tru64 Unix version 4.0f.
>
>Thanks in advance.
>
>Richard Abraham
>
>
>
>
next prev parent reply other threads:[~2000-02-04 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-03 5:00 LD_LIBRARY_PATH mangled on SUID program Richard
2000-02-03 5:00 ` Rob Urban
2000-02-03 5:00 ` Tim Mooney
2000-02-04 5:00 ` John Goodbody [this message]
2000-02-11 5:00 ` Richard
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox