merge trellis branch to trunk.
[util-vserver-pl.git] / scripts / vsh
diff --git a/scripts/vsh b/scripts/vsh
new file mode 100755 (executable)
index 0000000..0099b38
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+SLICE=`whoami`
+SLICEID=`id -u`
+
+/usr/sbin/vserver_suid_wrapper $SLICE suexec $SLICEID /bin/bash "$@"