From 42c13e8d3b829d32016fb80d5935412935fd968c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 11 Jan 2021 20:05:56 +0100 Subject: op-mode: T3201: fix "show log all" for RADIUS users (cherry picked from commit f493df24ba29472735b1a4a081d0fce409b70d9f) --- op-mode-definitions/show-log.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op-mode-definitions') 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 @@ Show contents of all master log files - 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` + 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`' -- cgit v1.2.3