vsftpd: priv_sock_get_result

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1484
Joined: Fri Aug 29, 2003 8:39 pm

vsftpd: priv_sock_get_result

Post 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
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply