Re: Chroot and shell

From: Sancho2k.net Lists (lists_at_sancho2k.net)
Date: 03/12/05

  • Next message: KP: "Symlink Question"
    Date: Fri, 11 Mar 2005 16:24:35 -0700
    To: ptitoliv <ptitoliv@frenchsuballiance.cjb.net>
    
    

    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
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: KP: "Symlink Question"

    Relevant Pages

    • Re: Init.c, making it chroot
      ... :> For this to work, i'd like to know at what point do i call chroot(), ... DVD-ROM with FreeBSD and DragonFly BSD on it. ... I decided to add the feature to DragonFly BSD's ... that a committer will pick it up. ...
      (freebsd-hackers)
    • Re: Init.c, making it chroot
      ... Oliver Fromme writes: ... DVD-ROM with FreeBSD and DragonFly BSD on it. ... I decided to add the feature to DragonFly BSD's ... The chroot() patch has been committed with r1.6. ...
      (freebsd-hackers)
    • pam_chroot
      ... Has anyone got the pam_chroot module to successfully work in FreeBSD? ... libraries into my chroot, I can chroot -u test -g test /home/test ... Nick Twaddell ...
      (FreeBSD-Security)
    • pam_chroot
      ... Has anyone got the pam_chroot module to successfully work in FreeBSD? ... libraries into my chroot, I can chroot -u test -g test /home/test ... Nick Twaddell ...
      (freebsd-questions)
    • chroot versus jail for the name daemon
      ... The FreeBSD Handbook describes running BIND in a sandbox, ... theoretically cannot attack the real root of the filesystem, ... is within the chroot path. ... recommend putting named into a jail instead. ...
      (freebsd-questions)