Mysql – Make ProFTPD only auth against MySQL (no PAM)

authenticationftpMySQLproftpd

I have successfully setup ProFTPD to use mod_sql for authentication. But I can still login with linux user's credentials, even though I've set AuthPAM off. How can I make ProFTPD to not use PAM?

Best Answer

Use both AuthPAM and AuthOrder, like this:

AuthOrder       mod_sql.c
AuthPAM         off