Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Nov 2002 11:30:47 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Kyle Martin <mkm@ieee.org>
Cc:        sven svenskar <polski@europe.com>, current@FreeBSD.ORG
Subject:   Re: DEVFS 
Message-ID:  <34161.1038047447@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 23 Nov 2002 04:17:01 CST." <20021123101700.GA84720@marvin.bsdng.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20021123101700.GA84720@marvin.bsdng.org>, Kyle Martin writes:
>On Sat, Nov 16, 2002 at 10:15:53AM -0500, sven svenskar wrote:
>> I have server i give people shell accounts each in chroot and they need some devices. How this work with DEVFS? Should I copy devices from DEVFS with dd or tar? Or I mount DEVFS in every chroots? Please help!

You should:
	1. use jails instead if you can (you can jail multiple jails on
	   the same IP and it can even be the systems "own" IP).
	2. mount devfs in each jail.
	3. use devfs(8) to filter which devices you give people access to.
	4. contribute your scripts to do all this to the project :-)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34161.1038047447>