summaryrefslogtreecommitdiff
path: root/templates-op/clear
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-07 10:27:20 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-03-07 10:29:58 -0800
commit3f063193874914d2a4c3d0a52d079bd81e0f4831 (patch)
tree903e95051c84706019e0acad19f146ad63eeeb05 /templates-op/clear
parent79af7637dcba8aa1d9f52655800e4ef7caedb03c (diff)
downloadvyatta-nat-3f063193874914d2a4c3d0a52d079bd81e0f4831.tar.gz
vyatta-nat-3f063193874914d2a4c3d0a52d079bd81e0f4831.zip
fix non-root iptables usage in nat
Bugfix: 2698 Align usage of sudoers /sbin/iptables in NAT to allow non-root user to run commands.
Diffstat (limited to 'templates-op/clear')
-rw-r--r--templates-op/clear/nat/counters/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-op/clear/nat/counters/node.def b/templates-op/clear/nat/counters/node.def
index a887962..acd6adb 100644
--- a/templates-op/clear/nat/counters/node.def
+++ b/templates-op/clear/nat/counters/node.def
@@ -1,2 +1,2 @@
help: Clear NAT counters
-run: sudo ${vyatta_bindir}/sudo-users/iptables -Z -t nat
+run: sudo /sbin/iptables -Z -t nat