aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-10-26 14:08:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-10-26 14:08:25 -0300
commitb89de78ee226d0617d70385d4ba3297246ec06e0 (patch)
treeeb44eb1ed0fc82e501ca1a1276353d14570544e0
parent3793cd986f72878d3e7e3bcdc4458ddd075d1213 (diff)
downloadkvmx-b89de78ee226d0617d70385d4ba3297246ec06e0.tar.gz
kvmx-b89de78ee226d0617d70385d4ba3297246ec06e0.tar.bz2
Adds ssh_finger into allowed commands for the restricted shell
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
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