Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
pure-ftp fix for 530 error
#### Fix for 530 Login authentication failed.
Make sure user is added using `pure-pw useradd`. Make sure to run `pure-pw mkdb`.
The solution is a symlink added to /etc/pure-ftpd/auth directory pointing to /etc/pure-ftpd/conf/PureDB that lists in alphabetical order before the other files in /etc/pure-ftpd/auth, e.g.
cd cd /etc/pure-ftpd/auth/
ln -s ../conf/PureDB 50puredb
Then it should look like this:
50puredb -> ../conf/PureDB
65unix -> ../conf/UnixAuthentication
70pam -> ../conf/PAMAuthentication
Then restart the pure-ftp daemon: `service pure-ftpd restart`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment