I used to use the ProftPD and PureftPD for convenience, I used the plain text to store the FTP account. Later, I didn't think it was not convenient. When I stopped alone, I didn't dare to log in to add the FTP account, so I now re-change the configuration file. Added encrypted password.
1. In PurftPD, modify /usr/local/purftpd/etc/pureftpd-mysql.conf, (use the source code installation),
MySQLCrypt Cleartext changes to mysqlcrypt password
In the purftpd table of MySQL, update users set password = password (password) uses the original password to encrypt, (of course, use the password () function to add a password when you want to add an account.
Pkill Purftpd S98Purftpd Start
OK.
2, in Proftpd, modify /usr/local/proftpd/etc/proftpd.conf,
SQLAUTHTYPES BACKEND PLAINTEXT is changed to SQLAUTHTYPES BACKEND CRYPT
(Verified, only SQLAUTHTYPES BACKEND is also possible)
In the same ftpusers, use Update ftpusers set passwd = password (passwd) to change the original plain text password to encrypted password.
Restart Proftpd, try login, everything OK