[sudo-users] --with-noexec option

Todd C. Miller Todd.Miller at courtesan.com
Thu Sep 23 09:30:56 EDT 2010


If the /etc/sudoers files are identical on the two machines the
only thing that comes to mind is a 32-bit vs. 64-bit executable
problem.

Sudo sets LDR_PRELOAD on AIX to point to sudo_noexec.so.  This is
correct for 32-bit binaries but will not have an efect on 64-bit
binaries.

Is the output of the following command different on the two hosts?

$ file /usr/bin/sudo /opt/freeware/libexec/sudo_noexec.so /bin/ksh

I would expect the file type to be:

    executable (RISC System/6000) or object module

possibly with "not stripped" at the end.

 - todd



More information about the sudo-users mailing list