Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2003 15:57:11 +0900
From:      horio shoichi <bugsgrief@bugsgrief.net>
To:        "Nick Twaddell" <nick@webspacesolutions.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: chroot environment
Message-ID:  <20031207.065712.ad48f91876c124a7.10.0.3.9@bugsgrief.net>
In-Reply-To: <20031206211745.001CC43F93@mx1.FreeBSD.org>
References:  <20031206211745.001CC43F93@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 6 Dec 2003 13:18:13 -0800
"Nick Twaddell" <nick@webspacesolutions.com> wrote:
> I am trying to setup a chroot environment for some users.  I rebuilt the
> environment inside their userdir, copied all the appropriate binaries, libs,
> etc.  The part I am stumped on, is how do you make it so their account gets
> chrooted on login.  Since chroot can only be executed by root.  Some of the
> docs I found created a shell script that would sudo chroot and run it on
> login.  I am just wondering what everyone else recommends.
> 
> Thanks
> 
> Nick Twaddell
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

Answer1: security/chrootuid.

Answer2: Build jail(8) environment, install sshd, for example, on each
	jail. Let each user login to the respective account.


horio shoichi



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