[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Super.tab syntax



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 <bhmit1@mail.wm.edu>   "We all know linux is great... it
PGP: finger -l bhmit1@cs.wm.edu          does infinite loops in 5 seconds"
Phone: (757) 221-4847                      --Linus Torvalds


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: