Page 1 of 1

vsftpd: priv_sock_get_result

Posted: Sun Aug 17, 2008 3:16 pm
by ^rooker
[PROBLEM]
Installing vsftpd on Ubuntu Hardy from the official repositories, gave me the following error message when trying to log in, non-anonymously:
500 OOPS: priv_sock_get_result
[SOLUTION]
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
Modify it to look like this:

Code: Select all

auth    required        pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed crypt=hash