Skip to content

Instantly share code, notes, and snippets.

@boulund
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boulund/5ab68aeff1ca18779237 to your computer and use it in GitHub Desktop.
Save boulund/5ab68aeff1ca18779237 to your computer and use it in GitHub Desktop.
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