#!/bin/bash
#
# Wrapper for executing admin commands on a virtual appliance
#
# Copyright (c) 2013-2014 Alex Williams, Unscramble. See the LICENSE file (MIT).

case "${SSH_ORIGINAL_COMMAND}" in
  "update")
    sudo /opt/jidoteki/admin/bin/update_vm.sh
    ;;
  *)
    exit 1
    ;;
esac

#!/bin/sh
#
# Wrapper for executing admin commands on a virtual appliance
#
# Copyright (c) 2013-2014 Alex Williams, Unscramble. See the LICENSE file (MIT).

case "${SSH_ORIGINAL_COMMAND}" in
  "update")
    sudo /opt/jidoteki/admin/bin/update_vm.sh
    ;;
  *)
    exit 1
    ;;
esac

Fix for CVE-2014-7169 and CVE-2014-6271 (ShellShock)
Fix for CVE-2014-7169 and CVE-2014-6271 (ShellShock)

  - This SSH wrapper is remotely executable for updating a virtual appliance
  - This fix simply changes the shell interpreter and does NOT update bash itself
