summaryrefslogtreecommitdiff
path: root/templates-op/show/nat/rules/node.def
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/show/nat/rules/node.def
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/show/nat/rules/node.def')
-rw-r--r--templates-op/show/nat/rules/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-op/show/nat/rules/node.def b/templates-op/show/nat/rules/node.def
index 772e1b0..76e05eb 100644
--- a/templates-op/show/nat/rules/node.def
+++ b/templates-op/show/nat/rules/node.def
@@ -1,3 +1,3 @@
help: Show configured NAT rule set
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-nat.pl \
+run: /opt/vyatta/sbin/vyatta-show-nat.pl \
${vyatta_datadir}/xsl/show_nat_rules.xsl