summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 12:01:20 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 12:01:20 -0800
commitc9d801042d0749c921c7c0f3232df796034889e3 (patch)
treeb7f5b8ab09cc465f95ea77a9edbc4ae219a95e17 /templates
parent7527117842918d1288636b76bd77663e05664575 (diff)
downloadvyatta-op-c9d801042d0749c921c7c0f3232df796034889e3.tar.gz
vyatta-op-c9d801042d0749c921c7c0f3232df796034889e3.zip
no need for sudo to read log messages
Since operator is now in the adm group, he/she has the ability to read log messages without need of sudo.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/log/all/node.def2
-rw-r--r--templates/show/log/file/node.tag/node.def2
-rw-r--r--templates/show/log/node.def2
-rw-r--r--templates/show/system/boot-messages/all/node.def2
-rw-r--r--templates/show/system/boot-messages/node.def2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/show/log/all/node.def b/templates/show/log/all/node.def
index 26f97a3..87e959b 100644
--- a/templates/show/log/all/node.def
+++ b/templates/show/log/all/node.def
@@ -1,2 +1,2 @@
help: Show contents of all master log files
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-log-all
+run: ${vyatta_bindir}/vyatta-show-log-all
diff --git a/templates/show/log/file/node.tag/node.def b/templates/show/log/file/node.tag/node.def
index 317582a..a5a1c9d 100644
--- a/templates/show/log/file/node.tag/node.def
+++ b/templates/show/log/file/node.tag/node.def
@@ -2,4 +2,4 @@ help: Show contents of user-defined log file
allowed: local -a array ;
array=( /var/log/user/* ) ;
echo -n ${array[@]##*/}
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-log-file "$4"
+run: ${vyatta_bindir}/vyatta-show-log-file "$4"
diff --git a/templates/show/log/node.def b/templates/show/log/node.def
index 2362962..5f61e1d 100644
--- a/templates/show/log/node.def
+++ b/templates/show/log/node.def
@@ -1,2 +1,2 @@
help: Show contents of current master log file
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-log
+run: ${vyatta_bindir}/vyatta-show-log
diff --git a/templates/show/system/boot-messages/all/node.def b/templates/show/system/boot-messages/all/node.def
index df6795f..b151fc2 100644
--- a/templates/show/system/boot-messages/all/node.def
+++ b/templates/show/system/boot-messages/all/node.def
@@ -1,2 +1,2 @@
help: Show all kernel boot messages
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-dmesg-all
+run: ${vyatta_bindir}/vyatta-show-dmesg-all
diff --git a/templates/show/system/boot-messages/node.def b/templates/show/system/boot-messages/node.def
index b2c25e3..7cfe5d3 100644
--- a/templates/show/system/boot-messages/node.def
+++ b/templates/show/system/boot-messages/node.def
@@ -1,2 +1,2 @@
help: Show most recent kernel boot messages
-run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-dmesg
+run: ${vyatta_bindir}/vyatta-show-dmesg