Last active
August 29, 2015 14:10
-
-
Save boulund/5ab68aeff1ca18779237 to your computer and use it in GitHub Desktop.
pure-ftp fix for 530 error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### 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