From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dc5dE-0007b0-9I for qemu-devel@nongnu.org; Sat, 28 May 2005 14:01:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dc5dA-0007Yc-56 for qemu-devel@nongnu.org; Sat, 28 May 2005 14:01:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dc5d9-0007Xx-TW for qemu-devel@nongnu.org; Sat, 28 May 2005 14:01:51 -0400 Received: from [62.72.101.226] (helo=mail.mm.be) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dc5aY-0007k6-N6 for qemu-devel@nongnu.org; Sat, 28 May 2005 13:59:11 -0400 Received: from localhost (antares [62.72.101.234]) by mail.mm.be (Postfix) with ESMTP id 353DF44BAA for ; Sat, 28 May 2005 19:58:00 +0200 (CEST) Received: from mail.mm.be ([62.72.101.226]) by localhost (antares [62.72.101.234]) (amavisd-new, port 10024) with ESMTP id 23578-01 for ; Sat, 28 May 2005 19:57:56 +0200 (CEST) Received: from sharonstone.beeznest.net (unknown [62.72.101.230]) by mail.mm.be (Postfix) with ESMTP id 315D06FBB for ; Sat, 28 May 2005 19:57:56 +0200 (CEST) Received: from [213.219.187.253] (helo=mobj) by sharonstone.beeznest.net with esmtp (Exim 3.36 #1 (Debian)) id 1Dc5ZB-000056-00 for ; Sat, 28 May 2005 19:57:45 +0200 Subject: Re: [Qemu-devel] Qemu sandbox for teaching From: Jerome Warnier In-Reply-To: <200505281413.15225.paul@codesourcery.com> References: <1117284129.30948.16.camel@mobj> <200505281413.15225.paul@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-15 Date: Sat, 28 May 2005 19:50:53 +0200 Message-Id: <1117302653.4733.12.camel@mobj> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: List qemu-devel Le samedi 28 mai 2005 =E0 14:13 +0100, Paul Brook a =E9crit : > On Saturday 28 May 2005 13:42, Jerome Warnier wrote: > > Does someone here have an idea on how to do the following using Qemu, > > but I'm open to other suggestions: > > > > I would like to provide a UNIX CLI sandbox for users to poke around in = a > > UNIX course. It would be better if available from the web (preferably > > without having to install anything on the users' PC), and Free (as in > > free speach). > > The problem is that I need to give them root access, or at least a > > simulation. > > It would be even better if we could for instance install RedHat in it, > > but it's not really required. >=20 > It's not really answering your question, but qemu is probably OTT for thi= s. If=20 > I was setting this up I'd use UML and a java web based telnet/ssh client. Well, I was thinking about what the snapshot feature of qemu could bring me. In fact, I thought about the following solutions: - qemu (or whatever other virtualization system) - chroot (or specifically dchroot in Debian) and remote telnet or ssh access - UML Advantages of every solution: - qemu virtualizes a complete machine, which means installation of an OS is possible and it is pretty safe (security-wise) to setup - chroot is fast to run and pretty safe - UML is fast to run and pretty safe Problems of every solution: - qemu is slow, and a lot of virtual machines at the same time on the same machine will slow it down and use too much memory, I think (I'm talking about 10 people =ABplaying=BB at the same time). Using only a text-mode virtual machine may probably help, though - chroot does not allow much and may take time to setup correctly - UML is difficult to setup, and needs a kernel patch (even on 2.6?) to work > Paul --=20 Jerome Warnier BeezNest