From 3eb88b7d21d860b5d1af8fb5c9cc7c110a0d7848 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen.hemminger@vyatta.com>
Date: Mon, 25 Feb 2008 13:55:27 -0800
Subject: 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.
---
 templates/show/firewall/node.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'templates/show/firewall/node.def')

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
 
-- 
cgit v1.2.3

