|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] how to get sudo to preserve LD_PRELOAD
|
On Mon, May 01, 2006 at 12:57:41PM -0400, Daniel Crosta wrote:
> Turns out it (seems to be) that ld.so is removing the LD_PRELOAD
> environment variable for setuid root binaries (eg sudo, su), not sudo
> itself.
As Sean pointed out, this is really for the best. But there are a few
ways to do it safely -- for example, writing a shell script wrapper for
your command that sets the appropriate LD_PRELOAD value, then runs the
desired command.
-mct
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|