[sudo-users] noexec on Solaris 10 with mixed 32 bit and 64 bit binaries
Richard van den Berg
richard at vdberg.org
Wed May 19 01:54:24 EDT 2010
We are running Solaris 10 with sudo compiled in 32 bit.
$ file /usr/local/libexec/sudo_noexec.so
/usr/local/libexec/sudo_noexec.so: ELF 32-bit MSB dynamic lib SPARC
Version 1, dynamically linked, not stripped, no debugging information
$ file /opt/mqm/bin/mqver
/opt/mqm/bin/mqver: ELF 64-bit MSB executable SPARCV9 Version 1,
dynamically linked, not stripped
This results in the following error, when a sudo with the noexec option is
ld.so.1: mqver: fatal: /usr/local/libexec/sudo_noexec.so: wrong ELF class:
I guess building sudo_noexec.so in 64 bit would work, but would give
similar issues for 32 bit commands (i.e. all the binaries in /usr/bin).
Is there a solution for this?
More information about the sudo-users