ProFTPD + MySQL + MD5 Passwords

If you're using ProFTPD with virtual users (sql) and want to use md5-hashed passwords in sql table, uncomment this line in modules.conf:

LoadModule mod_sql_passwd.c

And edit sql.conf relevant lines like:

SQLAuthTypes MD5
SQLPasswordEngine on
SQLPasswordEncoding hex

And don't forget to change password areas to MD5 before restarting the daemon.

 

seqizz

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre prompt="" escaped="">