My machine runs a patched version of Sudo version 1.8.21p2
and I need to also have the unpatched version.
After getting the code from Github (the unpatched one), running ./configure
, and then make
I stop short of make install
because I want both version to co-exist.
Problem is:
$ sudoup --version
sudoup: error while loading shared libraries: libsudo_util.so.0: cannot open shared object file: No such file or directory
Setting $LD_LIBRARY_PATH
is also futile as sudo
/sudoup
just reset library paths.
How am I supposed to run this?
$LD_LIBRARY_PATH
with setuid applications (otherwise it would be a huge security hole). You might be able to put one (and its libraries) under/usr/local/{lib,etc,bin}
but you're probably safer trying to avoid having two distinct versions of the same security software