Hide Forgot
Description of problem: Right now the log viewer in RHEVH is just a shell out to the less command line. From less it is possible to do !!/bin.bash to get a root shell from the less command One option to eliminate this is to start less with SHELL=/bin/false as an environment variable, as this seems to make !!/bin/bash fail, and returns back to the less reader So: SHELL=/bin/false less $filename
Verified on 6.2-20111006, enter ":!!/bin/bash" on log file cannot get shell.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1783.html