I've configured a chrooted sftp service through ldap. If the user doesn't have a home folder it will automatically create it with the pam_mkhomedir module.
But there is a problem, a chrooted sftp will not chroot a folder not owned by root for security reasons. Is it possible to work around this somehow? I can't find any information about overriding the owner of the folder created by pam_mkhomedir. Is it possible?
But there is a problem, a chrooted sftp will not chroot a folder not owned by root for security reasons. Is it possible to work around this somehow? I can't find any information about overriding the owner of the folder created by pam_mkhomedir. Is it possible?