From: Evan Broder Date: Sun, 30 Mar 2008 21:43:16 +0000 (-0400) Subject: It should not be trivial for us to hack users' machines X-Git-Tag: sipb-xen-console/4.1^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/commitdiff_plain/4be6cc7bb5c86e4c44b91e18ec351a1764b436ea It should not be trivial for us to hack users' machines svn path=/trunk/packages/sipb-xen-console/; revision=366 --- diff --git a/debian/changelog b/debian/changelog index 1ab09b7..7495e31 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sun, 30 Mar 2008 17:42:04 -0400 + sipb-xen-console (4) unstable; urgency=low * Added comments to sipb-xen-consolefs diff --git a/files/usr/bin/sipb-xen-consolesh b/files/usr/bin/sipb-xen-consolesh index ffaa191..c3a5e53 100755 --- a/files/usr/bin/sipb-xen-consolesh +++ b/files/usr/bin/sipb-xen-consolesh @@ -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