It should not be trivial for us to hack users' machines
[invirt/packages/invirt-console.git] / files / usr / bin / sipb-xen-consolesh
index ffaa191..c3a5e53 100755 (executable)
@@ -1,4 +1,10 @@
 #!/bin/bash
 
+if [ "$SHLVL" != "1" ]
+then
+    echo "Please do not compromise our users' machines"
+    exit 1
+fi
+
 export VM_NAME="d_$USER"
 ssh console@black-mesa