diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-11 20:05:56 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-11 20:05:56 +0100 |
commit | f493df24ba29472735b1a4a081d0fce409b70d9f (patch) | |
tree | ad6c2ba6191b8f2201328f690e14bba04b5e8d5e /op-mode-definitions/show-log.xml.in | |
parent | 9db4dbc4a84ff1a110617cb3c7849d7c9d4a62e7 (diff) | |
download | vyos-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.in | 2 |
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> |