HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Chroot FTP users (http://www.howtoforge.com/forums/showthread.php?t=19)

olli 21st April 2005 16:11

Chroot FTP users
 
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

Code:

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

Code:

/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

Code:

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


All times are GMT +2. The time now is 06:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.