From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DcOLe-00057X-Kz for qemu-devel@nongnu.org; Sun, 29 May 2005 10:01:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DcOLR-00051N-7C for qemu-devel@nongnu.org; Sun, 29 May 2005 10:00:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DcOLP-0004qJ-Td for qemu-devel@nongnu.org; Sun, 29 May 2005 10:00:48 -0400 Received: from [212.16.62.50] (helo=mail.13thfloor.at) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DcOBZ-0000QD-Ko for qemu-devel@nongnu.org; Sun, 29 May 2005 09:50:38 -0400 Date: Sun, 29 May 2005 15:49:12 +0200 From: Herbert Poetzl Subject: Re: [Qemu-devel] Qemu sandbox for teaching Message-ID: <20050529134912.GA11324@MAIL.13thfloor.at> References: <1117284129.30948.16.camel@mobj> <200505281413.15225.paul@codesourcery.com> <1117302653.4733.12.camel@mobj> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1117302653.4733.12.camel@mobj> 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: Jerome Warnier Cc: List qemu-devel On Sat, May 28, 2005 at 07:50:53PM +0200, Jerome Warnier wrote: > 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 Qem= u, > > > 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 (preferab= ly > > > 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= this. If=20 > > I was setting this up I'd use UML and a java web based telnet/ssh cli= ent. > Well, I was thinking about what the snapshot feature of qemu could brin= g > me. >=20 > 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 >=20 > Advantages of every solution: > - qemu virtualizes a complete machine, which means installation of an O= S > 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 >=20 > 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 you might want to have a look at linux-vserver http://linux-vserver.org/ it allows you to have VPS with certain root rights on a shared host, in a secure manner (no overhead) HTH, Herbert > work >=20 >=20 > > Paul > --=20 > Jerome Warnier > BeezNest >=20 >=20 >=20 > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel