The below post explains issue for library file associated with su command.
Whenever I am trying to switch user, i was getting below error. This message can also be seen with many of other commands.
Cause:
Usually this error is occurring as per your env. setting. Try to check which .env file using this option.
Now to overcome this issue, immediately you can set LD_PRELOAD_32= to Null value and export this variable.
Solution:
You can also keep these setting in .profile file for specific user giving this message.
Whenever I am trying to switch user, i was getting below error. This message can also be seen with many of other commands.
bash-3.00$ su - oracle
ld.so.1: su: warning: /usr/lib/extendedFILE.so.1: open failed: illegal insecure pathname
Password:
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$
$ ldd /usr/bin/su
/usr/lib/extendedFILE.so.1 => (illegal insecure pathname
libcmd.so.1 => /lib/libcmd.so.1
libbsm.so.1 => /lib/libbsm.so.1
libpam.so.1 => /lib/libpam.so.1
libc.so.1 => /lib/libc.so.1
libsocket.so.1 => /lib/libsocket.so.1
libnsl.so.1 => /lib/libnsl.so.1
libmd.so.1 => /lib/libmd.so.1
libsecdb.so.1 => /lib/libsecdb.so.1
libtsol.so.2 => /lib/libtsol.so.2
libmp.so.2 => /lib/libmp.so.2
libscf.so.1 => /lib/libscf.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-V440/lib/libmd_psr.so.1
$
Cause:
Usually this error is occurring as per your env. setting. Try to check which .env file using this option.
Now to overcome this issue, immediately you can set LD_PRELOAD_32= to Null value and export this variable.
Solution:
bash-3.00$ env | grep LD_PRELOAD_32
LD_PRELOAD_32=/usr/lib/extendedFILE.so.1
bash-3.00$ LD_PRELOAD_32=
bash-3.00$ export LD_PRELOAD_32
bash-3.00$ env | grep LD_PRELOAD_32
LD_PRELOAD_32=
bash-3.00$ su - oratest
Password:
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$
You can also keep these setting in .profile file for specific user giving this message.
Comments