View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-07-2005, 05:46 PM   #1
Registered: Jul 2003
Posts: 142

Rep: Reputation: 15
vsftpd and chroot

I have recently installed and (almost) successfully configured vsftpd on my suse 9.2 computer. The trouble that I have is this...I want to jail(chroot) every ftp user to a specific directory that is not their home directory but a directory where I store files that I want other people to access. How do I go about doing this? Any help is appreciated. Sorry for my bad english.
Old 03-07-2005, 06:02 PM   #2
Registered: Mar 2005
Location: Alphen aan den Rijn , netherlands
Distribution: core
Posts: 57

Rep: Reputation: 15
Put this in : /etc/vsftpd/vsftpd.conf


and change in the /etc/passwd the home directory of the user to the directory you want them to be jailed in

also make them member of a group that is also allow to that directory

Last edited by narmida; 03-07-2005 at 06:05 PM.
Old 03-08-2005, 02:36 AM   #3
Registered: Jul 2003
Posts: 142

Original Poster
Rep: Reputation: 15
Thank you so much, this did the trick
Old 03-08-2005, 02:47 AM   #4
Registered: Jul 2003
Posts: 142

Original Poster
Rep: Reputation: 15
One more question tough, and sorry for being such a noob. How can I have multiple users share the same default home directory?


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
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd and chroot bstempi Linux - Security 10 11-08-2005 02:56 PM
chroot problems and vsftpd noisybastard Linux - Networking 0 01-22-2004 03:28 PM
VsFtpd Chroot problem... CrewXp Linux - Newbie 1 01-04-2004 03:30 PM
Help with chroot jail - vsFTPd r042wal Linux - Software 1 06-05-2003 04:21 PM

All times are GMT -5. The time now is 04:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration