On Sun, 19 Apr 1998, C.L.Daugaard wrote:

> Using super, I'd like to enable certain users to execute the following:
> 
>     echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> I've given super privilege for this exact string in super.tab, and running
> super with the -d flag confirms it, but when the user tries the command he 
> gets
> 
>     [name of script invoking 'super (cmd)']: /proc/sys/net/ipv4/ip_forward: 
> Permission denied

Have you tried escaping the shell characters:
        echo \"1\" \> /proc/sys/net/ipv4/ip_forward

HTH,
Brandon

-----
Brandon Mitchell <[EMAIL PROTECTED]>   "We all know linux is great... it
PGP: finger -l [EMAIL PROTECTED]          does infinite loops in 5 seconds"
Phone: (757) 221-4847                      --Linus Torvalds


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to