View Full Version : Chroot FTP users
olli
21st April 2005, 16:11
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
falko
21st April 2005, 16:39
Add the line
DefaultRoot ~
to /etc/proftpd.conf and restart proftpd:
/etc/init.d/proftpd restart
olli
22nd April 2005, 12:07
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
leno
25th April 2005, 12:35
I wonder why this isn't on by default...
Yes, that would make sense.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.