summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-log.xml.in
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:05:56 +0100
commitf493df24ba29472735b1a4a081d0fce409b70d9f (patch)
treead6c2ba6191b8f2201328f690e14bba04b5e8d5e /op-mode-definitions/show-log.xml.in
parent9db4dbc4a84ff1a110617cb3c7849d7c9d4a62e7 (diff)
downloadvyos-1x-f493df24ba29472735b1a4a081d0fce409b70d9f.tar.gz
vyos-1x-f493df24ba29472735b1a4a081d0fce409b70d9f.zip
op-mode: T3201: fix "show log all" for RADIUS users
Diffstat (limited to 'op-mode-definitions/show-log.xml.in')
-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>