chroot debian environments

2002-01-06 Thread Kevin Littlejohn

Heya,

I've got a project coming up to create a chroot'ed environment, using
the grsecurity patches for added security, that provides a separate
encapsulated virtual machine for each user or group of users.  I want
to build the environment the users get chroot'ed into using debian
package tools.

What I'm wondering is, what's the best way to start this process? 
Assuming I have a partition set aside (which will be mounted read-only)
to act as the root filesystem for the chroot cage, how do I get the
basic file layout, dpkg, etc installed on it?  I could do a basic debian
install, but that'd include things like a kernel, which I don't need.

Are there any other projects out there that include this sort of thing?

KJL
-- 
Internet techieObsidian Consulting Group
Phone: +613 9653 9364Fax: +613 9354 2681
http://www.obsidian.com.au/   [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: chroot debian environments

2002-01-06 Thread Jacob Elder

On Mon, Jan 07, 2002 at 03:48:25PM +1100, Kevin Littlejohn wrote:
 What I'm wondering is, what's the best way to start this process? 
 Assuming I have a partition set aside (which will be mounted read-only)
 to act as the root filesystem for the chroot cage, how do I get the
 basic file layout, dpkg, etc installed on it?  I could do a basic debian
 install, but that'd include things like a kernel, which I don't need.
 

I'd start with debootstrap.

-- 
Jacob Elder
http://www.lucidpark.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: chroot debian environments

2002-01-06 Thread Jacob Elder
On Mon, Jan 07, 2002 at 03:48:25PM +1100, Kevin Littlejohn wrote:
 What I'm wondering is, what's the best way to start this process? 
 Assuming I have a partition set aside (which will be mounted read-only)
 to act as the root filesystem for the chroot cage, how do I get the
 basic file layout, dpkg, etc installed on it?  I could do a basic debian
 install, but that'd include things like a kernel, which I don't need.
 

I'd start with debootstrap.

-- 
Jacob Elder
http://www.lucidpark.net/