Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I get this error from PAM using mysql with vsftpd:

PAM unable to dlopen(/lib/security/ /lib/security/ undefined symbol: make_scrambled_password

From what I understand is the problem at least since It seems that the function used in pam called make_scrambled_password is deprecated.

At least I think that is the problem. How can I go about getting around this? I guess I can hack the code (pam_mysql.c) to find a replacement for that function but I'm hoping for a simpler option.

I'm using CentOS.

share|improve this question
up vote 0 down vote accepted

With dumb luck I found an rpm with a patch:

I downloaded the source RPM and patched my version of PAM.

patch < pam_mysql-0.7RC1-scrambled.patch

This assumes you are in the Pam source directory where pam_mysql.c exists.

Recompile pam and your set. Phew.

share|improve this answer
Tom, sorry for bumping year old thread but does this patch get rid of make_scrambled_password? And how does it work with updates you apply to your system later? – Greg0ry Feb 27 '14 at 9:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .