Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-12-2012, 12:23 AM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Restricting users to their home folder using vsftpd

I use vsftpd , what to restrict user to home folder , I now set the below setting may do it .

I wonder if I add this setting , it may apply to all users , all users may restrict user to home folder , if I just want to restrict 1 user only, what can I do ?
Old 07-12-2012, 01:09 AM   #2
LQ Newbie
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled

you can use options on /etc/vsftpd/vsftpd.conf file


you have to touch file chroot_list and list user chroot in this file

Example : I want to chroot user ftp_u1
I use two top options after add user ftp_u1 to file chroot_list
vim /etc/vsftpd/chroot_list


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting users to their home folder supervillan Linux - Newbie 2 04-08-2009 12:47 PM
Restricting FTP Users to their home dir in vsftpd ~ForgottenFlux~ Linux - Software 2 09-03-2003 08:54 PM
Vsftpd revisited - Restricting users further (Less confusing this time) Korff Linux - Networking 2 06-03-2003 10:13 PM
vsftpd: restricting users to home dirs groovin Linux - Security 6 11-25-2002 05:20 PM
restricting users to one folder flip-x Linux - Security 0 02-18-2001 06:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration