Old 3rd May 2005, 12:03
andre andre is offline
Junior Member
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default chroot / vsftpd

I'm using vsftpd as my FTP server, and I'd like to chroot my FTP users to their home dir. How can I do it?

Reply With Quote
Sponsored Links
Old 3rd May 2005, 13:18
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts



and restart vsftpd. That chroots each user to the directory specified in /etc/passwd. If you want to chroot a user to another directory than his home directory, simply put a dot (.) in the path to his home directory in /etc/passwd:


would chroot the user admin to /home instead of /home/admin.
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


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 02:35.

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