From 4be6cc7bb5c86e4c44b91e18ec351a1764b436ea Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sun, 30 Mar 2008 17:43:16 -0400 Subject: [PATCH] It should not be trivial for us to hack users' machines svn path=/trunk/packages/sipb-xen-console/; revision=366 --- debian/changelog | 7 +++++++ files/usr/bin/sipb-xen-consolesh | 6 ++++++ 2 files changed, 13 insertions(+) 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 -- 1.7.9.5