I installed pure-ftpd on Ubuntu 8.04 using
aptitude install pure-ftpd
What's the step to add users?
I'm new to pure-ftpd and PAM authentication, but I followed pure-ftpd documentation to do pure-pw useradd then restarted pure-ftpd but no dice.
It still says "authentication failed" when trying to connect with ftp client.
I verified that there is a /etc/pure-ftpd/pure-ftpd.passwd entry for the user that was added.
So what's the missing piece of the puzzle?
I've just had a similar problem. I've added user using
pure-pw useradd
and get530 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 inauth
, e.g.Then,
ls
within the same directory returns:Did you run "pure-pw mkdb" after adding users?
I recently had an issue which was solved here:
Not enough questions link to the answers in the FAQ.
Nevermind, ftp isn't necessary. Just remembered ssh can be used to transfer files via scp. That is working. There's more than one way to skin a cat.
EDIT: This is the best way to solve the situation of installing or setting up a cloud computer instance because they always give you ssh access. Since scp runs on stop of ssh to transfer files, it means there's nothing to install or configure to transfer files.
Now if you need to do regular file updates then a different tool like maybe rsync or such would be better.
Sincerely, Wayne
Why you don't user sfpt (ssh-ftp)? With SFPT you login by nuormal user credential.
A simple SFTP client is FileZilla.
Pure FTPd is set by default in Ubuntu to authenticate using PAM. This means that you'd need to add users to the system's user database using the command
useradd
.Guys I discovered something,
The problem is not with pure-ftpd
Kindly check the ftp login password, if it has special characters in it.
Just escape the special characters in it
will be
It should work.
Thank you!