I tried adding the "-" to the chroot command, but that breaks other things. For instance, OpenOffice gives an error, "Failed to open display". Any ideas how to get this working for everyone?
if [ $# = 0 ] ; then echo Starting Debian shell... >/dev/stderr sudo /sbin/debian su - $DEBUSER else # Workaround to allow "debbie" to be used as login shell if [ "$1" == "-c" ]; then shift fi echo Starting Debian $* >/dev/stderr sudo /sbin/debian su - $DEBUSER -c "$*" fi