-   Linux - Networking (
-   -   vsftpd and chroot (

gbj 03-07-2005 06:46 PM

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.

narmida 03-07-2005 07:02 PM

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

gbj 03-08-2005 03:36 AM

Thank you so much, this did the trick :)

gbj 03-08-2005 03:47 AM

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

All times are GMT -5. The time now is 11:30 PM.