diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-10-26 14:08:25 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-10-26 14:08:25 -0300 |
commit | b89de78ee226d0617d70385d4ba3297246ec06e0 (patch) | |
tree | eb44eb1ed0fc82e501ca1a1276353d14570544e0 | |
parent | 3793cd986f72878d3e7e3bcdc4458ddd075d1213 (diff) | |
download | kvmx-b89de78ee226d0617d70385d4ba3297246ec06e0.tar.gz kvmx-b89de78ee226d0617d70385d4ba3297246ec06e0.tar.bz2 |
Adds ssh_finger into allowed commands for the restricted shell
-rwxr-xr-x | kvmx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1930,7 +1930,7 @@ function kvmx_shell { local last_exit_code="0" local restricted="$1" local restricted_actions=":status:start:stop:poweroff:suspend:resume:console:monitor" - restricted_actions="$restricted_actions:wipe:shred:app_base:version:list_image:kill:" + restricted_actions="$restricted_actions:wipe:shred:app_base:version:list_image:kill:ssh_finger:" # While a "quit" command isn't entered, read STDIN while read -rep "$last_exit_code kvmx:/${USER}@${VM}> " STDIN; do |