Chroot and shell

Sancho2k.net Lists lists at sancho2k.net
Fri Mar 11 15:24:37 PST 2005


ptitoliv wrote:
> Hello everybody,
> 
> I am writing here because I am a little confused. I would want to give
> an access to someone on my FreeBSD 5.3-RELEASE BOX but I want the
> envrionnement to be restricted to the home directory. So I am looking
> for a documentation for making chroot on FreeBsd but I can't find it.
> Maybe I am looking in a bad way ;(.

What context do you want this done in? If you give them FTP access you 
can chroot them by placing their name in /etc/ftpchroot.

If you want SSH access, you could use something like chrootssh or 
another of many similar utils.

DS


More information about the freebsd-newbies mailing list