Hello,
I have a CentOS 5.5/64bit VM, where I only have sudo rights:
afarber ALL=(ALL) NOPASSWD: ALL
I'm trying to pass LD_LIBRARY_PATH
through sudo to install DBD::Oracle
( https://rt.cpan.org/Ticket/Display.html?id=63678 )
and have tried using "sudo -E" and also
changing these lines in the stock /etc/sudoers:
Defaults !env_reset
Defaults env_keep = "LD_LIBRARY_PATH \
COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \
LS_COLORS MAIL PS1 PS2 QTDIR USERNAME \
LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME
LC_NUMERIC \
LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS \
_XKB_CHARSET XAUTHORITY"
Still my test call fails:
afarber at VM:~> echo $LD_LIBRARY_PATH
/usr/lib/oracle/11.2/client64
afarber at VM:~> sudo -E perl -e 'print $ENV{LD_LIBRARY_PATH}';
afarber at VM:~>
afarber at VM:~> sudo -E perl -e 'print $ENV{HOME}';
/home/afarber
Does anybody please have a suggestion here?
Thank you
Alex