FTP: Immediate /etc/pureftpd.pdb updates on password change

Version 1.61.0


Previously, the password was changed in the /etc/proftpd.passwd file, and a task.queue call was pushed to request updating the /etc/pureftpd.pdb file by the dataskq. This could take up to 60 seconds. This change simply reworks the FTP task.queue trigger function to issue the /etc/pureftpd.pdb rebuild on the fly. All instances of the /etc/proftpd.passwd.lock being cleared have been moved to just after this trigger, so the lock will be held a few moments longer. However, the locking system does allow for time to pass as it waits for the lock to clear before giving up, so this shouldn't be an issue. ---- T25244

Try DirectAdmin with a 30-day money back guarantee!