From b89de78ee226d0617d70385d4ba3297246ec06e0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 26 Oct 2018 14:08:25 -0300 Subject: Adds ssh_finger into allowed commands for the restricted shell --- kvmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmx b/kvmx index 40d70d4..58fa932 100755 --- a/kvmx +++ b/kvmx @@ -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 -- cgit v1.2.3