summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show')
-rw-r--r--templates/show/vrrp/interface/node.tag/group/node.tag/node.def2
-rw-r--r--templates/show/vrrp/interface/node.tag/node.def2
-rw-r--r--templates/show/vrrp/node.def2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/show/vrrp/interface/node.tag/group/node.tag/node.def b/templates/show/vrrp/interface/node.tag/group/node.tag/node.def
index 1e74e2d..e47d186 100644
--- a/templates/show/vrrp/interface/node.tag/group/node.tag/node.def
+++ b/templates/show/vrrp/interface/node.tag/group/node.tag/node.def
@@ -1,3 +1,3 @@
help: Show VRRP information for specified interface and group
allowed: echo -n '<VRRP_GROUP>'
-run: /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4" "$6"
+run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4" "$6"
diff --git a/templates/show/vrrp/interface/node.tag/node.def b/templates/show/vrrp/interface/node.tag/node.def
index 860b12a..91f7186 100644
--- a/templates/show/vrrp/interface/node.tag/node.def
+++ b/templates/show/vrrp/interface/node.tag/node.def
@@ -2,4 +2,4 @@ help: Show VRRP information for specified interface
allowed: local -a array ;
array=( /sys/class/net/eth* ) ;
echo -n ${array[@]##*/}
-run: /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4"
+run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4"
diff --git a/templates/show/vrrp/node.def b/templates/show/vrrp/node.def
index 3842d98..cdbebe7 100644
--- a/templates/show/vrrp/node.def
+++ b/templates/show/vrrp/node.def
@@ -1,2 +1,2 @@
help: Show Virtual Router Redundancy Protocol (VRRP) information
-run: /opt/vyatta/sbin/vyatta-show-vrrp.pl
+run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl