summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-11 20:05:56 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-11 20:06:55 +0100
commit42c13e8d3b829d32016fb80d5935412935fd968c (patch)
treee1a39177f65c40a3146890850f1a492492d112b4 /op-mode-definitions
parent8d239aa739776e6ddf37cf7266933e414422893f (diff)
downloadvyos-1x-42c13e8d3b829d32016fb80d5935412935fd968c.tar.gz
vyos-1x-42c13e8d3b829d32016fb80d5935412935fd968c.zip
op-mode: T3201: fix "show log all" for RADIUS users
(cherry picked from commit f493df24ba29472735b1a4a081d0fce409b70d9f)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-log.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index b00e4cfec..58216bfd1 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -12,7 +12,7 @@
<properties>
<help>Show contents of all master log files</help>
</properties>
- <command>eval $(lesspipe); less $_vyatta_less_options --prompt=".log?m, file %i of %m., page %dt of %D" -- `printf "%s\n" /var/log/messages* | sort -nr`</command>
+ <command>sudo bash -c 'eval $(lesspipe); less $_vyatta_less_options --prompt=".logm, file %i of %m., page %dt of %D" -- `printf "%s\n" /var/log/messages* | sort -nr`'</command>
</leafNode>
<leafNode name="authorization">
<properties>