From 30d8f0c649a9ee7a6e533e71b1bcb114df4576ed Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 28 Feb 2008 13:27:16 -0800 Subject: show commands don't need sudo --- templates/show/interfaces/ethernet/node.tag/identify/node.def | 2 +- templates/show/interfaces/ethernet/node.tag/physical/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/show/interfaces/ethernet') diff --git a/templates/show/interfaces/ethernet/node.tag/identify/node.def b/templates/show/interfaces/ethernet/node.tag/identify/node.def index d94172f..3bbd413 100644 --- a/templates/show/interfaces/ethernet/node.tag/identify/node.def +++ b/templates/show/interfaces/ethernet/node.tag/identify/node.def @@ -1,2 +1,2 @@ help: Visually identify the specified Ethernet interface -run: sudo ${vyatta_bindir}/sudo-users/vyatta-identify-interface.pl "$4" +run: ${vyatta_bindir}/vyatta-identify-interface.pl "$4" diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def index 389378b..3667c13 100644 --- a/templates/show/interfaces/ethernet/node.tag/physical/node.def +++ b/templates/show/interfaces/ethernet/node.tag/physical/node.def @@ -1,3 +1,3 @@ help: Show physical device information of given ethernet interface allowed: "" -run: sudo ${vyatta_bindir}/sudo-users/ethtool "$4"; sudo ${vyatta_bindir}/sudo-users/ethtool -i "$4" +run: /usr/sbin/ethtool "$4"; /usr/sbin/ethtool -i "$4" -- cgit v1.2.3