On Sat, 6 Dec 2003 13:18:13 -0800
"Nick Twaddell" <[EMAIL PROTECTED]> 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
> 
> 
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to