It should not be trivial for us to hack users' machines sipb-xen-console/4.1
authorEvan Broder <broder@mit.edu>
Sun, 30 Mar 2008 21:43:16 +0000 (17:43 -0400)
committerEvan Broder <broder@mit.edu>
Sun, 30 Mar 2008 21:43:16 +0000 (17:43 -0400)
svn path=/trunk/packages/sipb-xen-console/; revision=366

debian/changelog
files/usr/bin/sipb-xen-consolesh

index 1ab09b7..7495e31 100644 (file)
@@ -1,3 +1,10 @@
+sipb-xen-console (4.1) unstable; urgency=low
+
+  * It should not be trivial for us to access the serial console of
+    users' machines
+
+ -- SIPB Xen Project <sipb-xen@mit.edu>  Sun, 30 Mar 2008 17:42:04 -0400
+
 sipb-xen-console (4) unstable; urgency=low
 
   * Added comments to sipb-xen-consolefs
 sipb-xen-console (4) unstable; urgency=low
 
   * Added comments to sipb-xen-consolefs
index ffaa191..c3a5e53 100755 (executable)
@@ -1,4 +1,10 @@
 #!/bin/bash
 
 #!/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
 export VM_NAME="d_$USER"
 ssh console@black-mesa