summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-28 13:27:16 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-28 13:27:16 -0800
commit30d8f0c649a9ee7a6e533e71b1bcb114df4576ed (patch)
treed5e248f1c776d9b97735092dad1dbb8206a3373e /templates
parentfb828c7cf89d964482f1812eec0acd33708b8e0c (diff)
downloadvyatta-op-30d8f0c649a9ee7a6e533e71b1bcb114df4576ed.tar.gz
vyatta-op-30d8f0c649a9ee7a6e533e71b1bcb114df4576ed.zip
show commands don't need sudo
Diffstat (limited to 'templates')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/identify/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/physical/node.def2
2 files changed, 2 insertions, 2 deletions
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"