From b99284b11940944bc0781dfbab9905c3114e4c4a Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 9 Jun 2008 14:22:25 -0700 Subject: Fix 3328: operator can't issue "show vrrp" --- templates/show/vrrp/interface/node.tag/group/node.tag/node.def | 2 +- templates/show/vrrp/interface/node.tag/node.def | 2 +- templates/show/vrrp/node.def | 2 +- templates/show/vrrp/summary/node.def | 2 +- 4 files changed, 4 insertions(+), 4 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 e47d186..cf74912 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 '' -run: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4" "$6" +run: sudo /opt/vyatta/bin/sudo-users/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 91f7186..f403060 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: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl "$4" +run: sudo /opt/vyatta/bin/sudo-users/vyatta-show-vrrp.pl "$4" diff --git a/templates/show/vrrp/node.def b/templates/show/vrrp/node.def index cdbebe7..51e9b9d 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: sudo /opt/vyatta/sbin/vyatta-show-vrrp.pl +run: sudo /opt/vyatta/bin/sudo-users/vyatta-show-vrrp.pl diff --git a/templates/show/vrrp/summary/node.def b/templates/show/vrrp/summary/node.def index c087165..c039423 100644 --- a/templates/show/vrrp/summary/node.def +++ b/templates/show/vrrp/summary/node.def @@ -1,3 +1,3 @@ help: Show summary of VRRP information -run: /opt/vyatta/sbin/vyatta-show-vrrp.pl "$3" +run: /opt/vyatta/bin/sudo-users/vyatta-show-vrrp.pl "$3" -- cgit v1.2.3