]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Adds ssh_finger into allowed commands for the restricted shell
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 26 Oct 2018 17:08:25 +0000 (14:08 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 26 Oct 2018 17:08:25 +0000 (14:08 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 40d70d4192a74385b7efbb58e549a7fd4aa48c31..58fa932713d6c1f262a20fbe055d99ca48b021f4 100755 (executable)
--- 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