Hello. We recently updated to 7100-05-06-2028, and also installed some RPMs via AIX_Toolbox, among them sudo.
# oslevel -s
7100-05-06-2028
# bootinfo -K
64
# yum info sudo
Installed Packages
Name : sudo
Arch : ppc
Version : 1.8.31p1
Release : 1
Size : 6.4 M
Repo : installed
From repo : AIX_Toolbox
Summary : Allows restricted root access for specified users.
URL :
http://www.sudo.wsLicense : IBM_ILA
Description : Sudo (superuser do) allows a system administrator to give certain users (or
: groups of users) the ability to run some (or all) commands as root while
: logging all commands and arguments. Sudo operates on a per-command basis. It
: is not a replacement for the shell. Features include: the ability to restrict
: what commands a user may run on a per-host basis, copious logging of each
: command (providing a clear audit trail of who did what), a configurable timeout
: of the sudo command, and the ability to use the same configuration file
: (sudoers) on many different machines.
By default, the symlink for "visudo" points to "visudo_32".
# ls -ltr /usr/sbin/visudo
lrwxrwxrwx 1 root system 30 Sep 30 12:11 /usr/sbin/visudo -> ../../opt/freeware/sbin/visudo
# ls -ltr /opt/freeware/sbin/visudo
lrwxrwxrwx 1 root system 9 Sep 30 12:11 /opt/freeware/sbin/visudo -> visudo_32
If I try to run "visudo_64", i get the following error:
# visudo_64
Could not load program visudo_64:
Dependent module /opt/freeware/libexec/sudo/libsudo_util.so could not be loaded.
Could not load module /opt/freeware/libexec/sudo/libsudo_util.so.
System error: Exec format error
If I run ldd against visudo_64, I get the following error:
# ldd /opt/freeware/sbin/visudo_64
/opt/freeware/sbin/visudo_64 needs:
/opt/freeware/libexec/sudo/libsudo_util.so
dump: /opt/freeware/libexec/sudo/libsudo_util.so: 0654-108 file is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
/opt/freeware/lib64/libintl.a(libintl.so.8)
/usr/lib/libpthread.a(shr_xpg5_64.o)
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/opt/freeware/lib/libiconv.a(libiconv.so.2)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/opt/freeware/lib64/libgcc_s.a(shr.o)
Also, I find nothing set in LIBPATH:
Similar errors with sudo_64.
# sudo_64 -V
Could not load program sudo_64:
Dependent module /opt/freeware/libexec/sudo/libsudo_util.so could not be loaded.
Could not load module /opt/freeware/libexec/sudo/libsudo_util.so.
System error: Exec format error
# ldd /usr/bin/sudo_64
/usr/bin/sudo_64 needs:
/opt/freeware/libexec/sudo/libsudo_util.so
dump: /opt/freeware/libexec/sudo/libsudo_util.so: 0654-108 file is not valid in the current object file mode.
Use the -X option to specify the desired object mode.
/opt/freeware/lib64/libintl.a(libintl.so.8)
/usr/lib/libpthread.a(shr_xpg5_64.o)
/usr/lib/libc.a(shr_64.o)
/usr/lib/libpthreads.a(shr_xpg5_64.o)
/opt/freeware/lib/libiconv.a(libiconv.so.2)
/unix
/usr/lib/libcrypt.a(shr_64.o)
/opt/freeware/lib64/libgcc_s.a(shr.o)
Any guidance for further troubleshooting?
Thanks.
------------------------------
g d
------------------------------
#AIXOpenSource