summaryrefslogtreecommitdiff
path: root/templates/show/firewall/node.def
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-25 13:55:27 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-25 13:55:27 -0800
commit3eb88b7d21d860b5d1af8fb5c9cc7c110a0d7848 (patch)
tree3d92e2638ad73a55698032118ad685c25315e3f6 /templates/show/firewall/node.def
parent0a9bb9fca675fb7f185b113153ed801cc7f43b17 (diff)
downloadvyatta-op-firewall-3eb88b7d21d860b5d1af8fb5c9cc7c110a0d7848.tar.gz
vyatta-op-firewall-3eb88b7d21d860b5d1af8fb5c9cc7c110a0d7848.zip
elminate use of sudo for iptables -L
Vyatta kernel allows non-root users to display iptables rules as non-root user. This eliminates the use of sudo except for the special case of clearing counters.
Diffstat (limited to 'templates/show/firewall/node.def')
-rw-r--r--templates/show/firewall/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/firewall/node.def b/templates/show/firewall/node.def
index c27582d..376c8e3 100644
--- a/templates/show/firewall/node.def
+++ b/templates/show/firewall/node.def
@@ -1,3 +1,3 @@
help: Show firewall information
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-firewall.pl -all /opt/vyatta/share/xsl/show_firewall.xsl
+run: ${vyatta_bindir}/vyatta-show-firewall.pl -all /opt/vyatta/share/xsl/show_firewall.xsl