Installing vsftpd on Ubuntu Hardy from the official repositories, gave me the following error message when trying to log in, non-anonymously:
[SOLUTION]500 OOPS: priv_sock_get_result
There seem to be some issues with vsftpd & pam dated back to 2005 that caused this error, but I don't think that they're the same.
However, it really seems to be a problem with pam as it can be fixed by adding "crypt=hash" at the end of each config line in /etc/pam.d/vsftpd.
For example, the default line in /etc/pam.d/vsftpd looks like this:
Code: Select all
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
Code: Select all
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed crypt=hash