Super.tab syntax--solved

1998-04-21 Thread C.L.Daugaard
In case anyone's interested, here's the piece that was missing from the scripts (from the super man page :o) ): prog=`basename $0` test "X$SUPERCMD" = "X$prog" || exec /usrq/bin/super $prog ${1+"$@"} The user is able to execu

Re: Super.tab syntax

1998-04-21 Thread C.L.Daugaard
On Mon, Apr 20, 1998 at 08:32:56AM -0400, Brandon Mitchell wrote: > On Mon, 20 Apr 1998, C.L.Daugaard wrote: > > > On Sun, Apr 19, 1998 at 09:29:33PM -0400, Brandon Mitchell wrote: > > > I still get > > > > bash: /proc/sys/net/ipv4/ip_forward: Permission denied > > I don't use super, but it

Re: Super.tab syntax

1998-04-20 Thread Brandon Mitchell
On Mon, 20 Apr 1998, C.L.Daugaard wrote: > On Sun, Apr 19, 1998 at 09:29:33PM -0400, Brandon Mitchell wrote: > I still get > > bash: /proc/sys/net/ipv4/ip_forward: Permission denied I don't use super, but it's interesting that bash is the one complaining and not super. You could make thi

Re: Super.tab syntax

1998-04-20 Thread C.L.Daugaard
On Sun, Apr 19, 1998 at 09:29:33PM -0400, Brandon Mitchell wrote: > > Have you tried escaping the shell characters: > echo \"1\" \> /proc/sys/net/ipv4/ip_forward > Thanks, I hadn't. Unfortunately bash still complains about permissions. I additionally tried setting real uid to root, but whe

Re: Super.tab syntax

1998-04-20 Thread Brandon Mitchell
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 us

Super.tab syntax

1998-04-19 Thread C.L.Daugaard
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 invo