chroot environment
horio shoichi
bugsgrief at bugsgrief.net
Sat Dec 6 22:57:20 PST 2003
On Sat, 6 Dec 2003 13:18:13 -0800
"Nick Twaddell" <nick at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list