Hi everyone,
When using Slackware 4.0 (kernel 2.2.12) I had a C program like:
-----change_route.c----
#include <stdlib.h>
main (void){
system("/sbin/route del default");
system("/sbin/route add default gw 1.1.1.1");
}
-----------------------
compiled, and suid root, any user could run it... On Slackware 7.1 (kernel
2.2.16), it gives me:
SIOCDELRT: Operation not permitted
SIOCADDRT: Operation not permitted
when I try to run it as a simple user, even if the program has the same
permissions as before (-rwsr-sr-x 1 root staff).
Any ideas?
bogdan
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs