On Thu, Jan 03, 2008 at 02:34:46PM -0500, Martin Paraskevov wrote:
> Hello,
> 
> I have an old machine at home that I connected to the internet,
> running Debian 4.0 (Etch). I will be giving accounts to ~30 people
> (I'd like to use the machine to set up an interesting project for a class)
> but I'd like them when they ssh into the machine to login into a
> UML instance (one per user) instead of into the host system. How
> can I do this? Can you please send me some pointers for setting up
> something like this, I believe it's called virtual hosting.

Have a look at
        http://www.stearns.org/slartibartfast/uml-coop.current.html

It's somewhat old, but probably largely still relevant.

If you are providing each UML with its own IP, then providing access
to them is a matter of making sure that they are running sshd and
telling their owners what IP to ssh to.

Since you have my book, take a look at Chapter 10, "Providing console
access securely", for a mechanism to allow a UML user to access
consoles without needing a login on the host.  Basically, you set up a
separate UML as a console server to the other UMLs and give your users
normal, non-root, accounts on it.  From here, they can use screen to
attach to their UML's consoles.  This is useful when they mess up
their network and can't ssh in any more.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to