ftp main account password change for owned IPs

Version 1.272

Bugfix
Finished

Bugfix for changing the password of the main ftp account password when the IP is owned. All other accounts are unaffected. Problem was that the user.conf file was not read in before doing the password change, thus the IP field was blank. This caused the "is the ip owned" function to return 'no', making the ftp password change work on the /etc/proftpd.passwd file instead of the /usr/local/directadmin/data/users/username/ftp.passwd file.

Interested to try DirectAdmin? Get a 30-day Free Trial!