Is it some how possible to make VSFTPD read the home of each user from LDAP backend? The users authenticates against LDAP backend over PAM. I do NOT want to create any user_config files, I just want to make VSFTPD to read it from user's LDAP directory. Is it some how possible?

I want to use that home dir to chroot the users in it.


OK I did it using the following two options in vsftpd.conf file:


passwd_chroot_enable If enabled, along with chroot_local_user , then a chroot() jail location may be specified on a per-user basis. Each user's jail is derived from their home directory string in /etc/passwd. The occurrence of /./ in the home directory string denotes that the jail is at that particular location in the path.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.