sudo complaining about setuid

2007-12-24 22:12:00

We have a bunch of SUN servers that were configured with
Jumpstart and apparently with a very minimum install. i.e.
no make, no c libraries etc. the jumpstart included the
current version of sudo that is on sunfreeware.com, and
in usr/local/bin it looks like sudo has been configured
correctly - ---s--x--x 1 root root 59008 Aug 15 1999 sudo

If I do ldd /usr/local/bin/sudo I get
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1

which I think means it is able to find all the libraries
it needs.

but when I try to run sudo, it says Sorry, sudo must be setuid root.

I tried removing the package and reinstalling it to confirm that
it was setuid root when the package was installed but this didn't
help. I then tried copying a newer version of the sudo binary
from another server that I knew was working, but still got the
same error message.

any help would be appreciated -

Elizabeth

Comments

Got something to say?

You must be logged in to post a comment.