I am trying to get chroot to work with virtual Pure-FTPD users, but for some reason it simply is not working.
I changed the following options:
/etc/default/pure-ftpd-common:
VIRTUALCHROOT=true
/etc/pure-ftpd/conf/ChrootEveryone:
yes
And added a virtual user with a homedirectory, which shows like this:
Login : <someuser>
Password : <foo>
UID : 1003 (ftpuser)
GID : 1003 (ftpgroup)
Directory : /home/<homedir>/./
What am I missing here?
Try set VIRTUALCHROOT=false and "/./" from user home dir.
/etc/default/pure-ftpd-common:
cat /etc/pure-ftpd/conf/ChrootEveryone:
When restart, exist -A option:
/etc/passwd:
Chroot work:
Solved it.
Turned out my FTP server was running through inetd instead of standalone.
When configured in inetd mode, the conf dir seems to be ignored.