#1  
Old 21st April 2005, 16:11
olli olli is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 21st April 2005, 16:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Add the line

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

Code:
/etc/init.d/proftpd restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd April 2005, 12:07
olli olli is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 25th April 2005, 12:35
leno leno is offline
Junior Member
 
Join Date: Apr 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:17.


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