Skip to content

Instantly share code, notes, and snippets.

@daltonnyx
Created September 16, 2017 08:11
Show Gist options
  • Save daltonnyx/0988a97f535ba76e493f2b4b221ccf42 to your computer and use it in GitHub Desktop.
Save daltonnyx/0988a97f535ba76e493f2b4b221ccf42 to your computer and use it in GitHub Desktop.
Error when create ftp user via pure-pw useradd

I've just had a similar problem. I've added user using pure-pw useradd and get 530 Login authentication failed.

The solution was a symlink added to /etc/pure-ftpd/auth directory pointing to /etc/pure-ftpd/conf/PureDB (there is a path to file that keeps ftp users) that shows in alphabetical order before other files in auth, e.g.

cd cd /etc/pure-ftpd/auth/ ln -s ../conf/PureDB 50PureDB then ls returns:

50PureDB -> ../conf/PureDB 65unix -> ../conf/UnixAuthentication 70pam -> ../conf/PAMAuthentication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment