LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 30
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 .
chroot_local_user=YES

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 ?



http://thextramoney.wordpress.com/20...ftpd-on-linux/
 
Old 07-12-2012, 01:09 AM   #2
nguyencanhtoan
LQ Newbie
 
Registered: Aug 2011
Posts: 7

Rep: Reputation: Disabled
Smile

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

chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

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
ftp_u1
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 AM.

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