Chroot FTP users

Discussion in 'Server Operation' started by olli, Apr 21, 2005.

  1. olli

    olli New Member

    I'd like to chroot my FTP users to their home directory so that they are not able to browse the whole server. How can I do it? I'm using proftpd.

    Thanks,
    Olli
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Add the line

    Code:
    DefaultRoot ~
    to /etc/proftpd.conf and restart proftpd:

    Code:
    /etc/init.d/proftpd restart
     
  3. olli

    olli New Member

    Wow, just a single line.
    I wonder why this isn't on by default... :( I think most admins want to chroot their FTP users...

    Olli
     
  4. leno

    leno New Member

    Code:
    I wonder why this isn't on by default...
    Yes, that would make sense.
     

Share This Page