On Mon, 24 Sep 2001, Statux wrote:

[traceroute doesn't need to run as root]
>> Not true; try "cp /usr/sbin/traceroute .; ./traceroute mit.edu" as an
>> unpriviledged user.
>
>Why don't you just "/usr/sbin/traceroute mit.edu"
>
>it works fine with non-root privledges. Why are you copying things to the
>cwd before using them? That's just pointless and it's prolly what's
>causing your problems, cause you wouldn't be asking otherwise.

This is really straying from the point of my original question, but...

traceroute *does* need root privs, and is installed SUID root:

[prowlands@dimebar ~]$ ll /usr/sbin/traceroute
-rwsr-xr-x    1 root   root   18256 Dec  1  2000 /usr/sbin/traceroute

The example of copying it to the current directory was meant to
illustrate that traceroute fails. Did you actually try it?

So, does anyone know why handmade SUID executables don't get root privs?


Cheers,

Phil



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to