Custombuild PureFTPD doesn't work like it should be

Hello,

If /etc/proftpd.passwd does not have accounts in it, or doesn't receive accounts when created, that would imply that the unified password option isn't set correctly.

Confirm what it's set to:
Code:
cd /usr/local/directadmin
./directadmin c | grep unified_ftp_password_file
to ensure it's set to 1.

Also do a forced restart of DA to ensure that the new value is loaded:
Code:
cd /usr/local/directadmin
killall -9 directadmin
./directadmin d

Lastly, ensure that the file:
/etc/pureftpd.pdb

has a timestamp equal or greater than the /etc/proftpd.passwd.
If the timestamp of the pureftpd.pdb is older, then it's not be updated with the new proftpd.passwd values.

John
 
Hello,

If /etc/proftpd.passwd does not have accounts in it, or doesn't receive accounts when created, that would imply that the unified password option isn't set correctly.

Confirm what it's set to:
Code:
cd /usr/local/directadmin
./directadmin c | grep unified_ftp_password_file
to ensure it's set to 1.

Also do a forced restart of DA to ensure that the new value is loaded:
Code:
cd /usr/local/directadmin
killall -9 directadmin
./directadmin d

Lastly, ensure that the file:
/etc/pureftpd.pdb

has a timestamp equal or greater than the /etc/proftpd.passwd.
If the timestamp of the pureftpd.pdb is older, then it's not be updated with the new proftpd.passwd values.

John

The output was 1 so unified_ftp_password_file was fine. After killing directadmin and starting via ./directadmin d everything went fine! I restarted directadmin before via 'service directadmin restart' but that didn't help.

Thanks for your reply!
 
Last edited:
I want to reply on my old thread. I've got the same problem again. I can not login into FTP after making a new user, not even if I restart Directadmin. Strange!
 
Last edited:
*bump*

Anyone?

Edit: Problem sloved, I don't know why, this is strange.
 
Last edited:
Back
Top