MySQL PAM Intergration Error “PAM adding faulty module: pam_mysql.so”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I am trying to get my vsftpd to use a MySQL database for storing usernames and passwords.



I have followed this tutorial but it doesn't seem to be working and I think maybe



Tutorial: https://www.howtoforge.com/tutorial/virtual-hosting-with-vsftpd-and-mysql-on-ubuntu-15.10/



Is anyone able to point me in the right direction?



===========================================================================



/var/log/auth.log




Feb 15 12:18:08 ubuntu vsftpd: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: make_scrambled_password



Feb 15 12:18:08 ubuntu vsftpd: PAM adding faulty module: pam_mysql.so




vsftpd.conf



listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
nopriv_user=vsftpd
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
guest_enable=YES
guest_username=vsftpd
local_root=/home/vsftpd/$USER
user_sub_token=$USER
virtual_use_local_privs=YES
user_config_dir=/etc/vsftpd_user_conf
ssl_enable=YES
allow_anon_ssl=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=NO
ssl_ciphers=HIGH
rsa_cert_file=/etc/ssl/private/vsftpd.pem
pasv_enable=Yes
pasv_max_port=20000
pasv_min_port=21000
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log



/etc/pam.d/vsftpd



auth required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
account required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2



MySQL Database vsftpd "select * from accounts;"




id username pass



1 testuser1 encrypted




Encryption Example:*668425423DB5193AF921380129F465A6425216D0










share|improve this question

























    up vote
    0
    down vote

    favorite












    I am trying to get my vsftpd to use a MySQL database for storing usernames and passwords.



    I have followed this tutorial but it doesn't seem to be working and I think maybe



    Tutorial: https://www.howtoforge.com/tutorial/virtual-hosting-with-vsftpd-and-mysql-on-ubuntu-15.10/



    Is anyone able to point me in the right direction?



    ===========================================================================



    /var/log/auth.log




    Feb 15 12:18:08 ubuntu vsftpd: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: make_scrambled_password



    Feb 15 12:18:08 ubuntu vsftpd: PAM adding faulty module: pam_mysql.so




    vsftpd.conf



    listen=YES
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    nopriv_user=vsftpd
    chroot_local_user=YES
    secure_chroot_dir=/var/run/vsftpd
    pam_service_name=vsftpd
    guest_enable=YES
    guest_username=vsftpd
    local_root=/home/vsftpd/$USER
    user_sub_token=$USER
    virtual_use_local_privs=YES
    user_config_dir=/etc/vsftpd_user_conf
    ssl_enable=YES
    allow_anon_ssl=YES
    force_local_data_ssl=YES
    force_local_logins_ssl=YES
    ssl_tlsv1=YES
    ssl_sslv2=NO
    ssl_sslv3=NO
    require_ssl_reuse=NO
    ssl_ciphers=HIGH
    rsa_cert_file=/etc/ssl/private/vsftpd.pem
    pasv_enable=Yes
    pasv_max_port=20000
    pasv_min_port=21000
    xferlog_enable=YES
    xferlog_file=/var/log/vsftpd.log



    /etc/pam.d/vsftpd



    auth required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
    account required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2



    MySQL Database vsftpd "select * from accounts;"




    id username pass



    1 testuser1 encrypted




    Encryption Example:*668425423DB5193AF921380129F465A6425216D0










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to get my vsftpd to use a MySQL database for storing usernames and passwords.



      I have followed this tutorial but it doesn't seem to be working and I think maybe



      Tutorial: https://www.howtoforge.com/tutorial/virtual-hosting-with-vsftpd-and-mysql-on-ubuntu-15.10/



      Is anyone able to point me in the right direction?



      ===========================================================================



      /var/log/auth.log




      Feb 15 12:18:08 ubuntu vsftpd: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: make_scrambled_password



      Feb 15 12:18:08 ubuntu vsftpd: PAM adding faulty module: pam_mysql.so




      vsftpd.conf



      listen=YES
      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      nopriv_user=vsftpd
      chroot_local_user=YES
      secure_chroot_dir=/var/run/vsftpd
      pam_service_name=vsftpd
      guest_enable=YES
      guest_username=vsftpd
      local_root=/home/vsftpd/$USER
      user_sub_token=$USER
      virtual_use_local_privs=YES
      user_config_dir=/etc/vsftpd_user_conf
      ssl_enable=YES
      allow_anon_ssl=YES
      force_local_data_ssl=YES
      force_local_logins_ssl=YES
      ssl_tlsv1=YES
      ssl_sslv2=NO
      ssl_sslv3=NO
      require_ssl_reuse=NO
      ssl_ciphers=HIGH
      rsa_cert_file=/etc/ssl/private/vsftpd.pem
      pasv_enable=Yes
      pasv_max_port=20000
      pasv_min_port=21000
      xferlog_enable=YES
      xferlog_file=/var/log/vsftpd.log



      /etc/pam.d/vsftpd



      auth required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
      account required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2



      MySQL Database vsftpd "select * from accounts;"




      id username pass



      1 testuser1 encrypted




      Encryption Example:*668425423DB5193AF921380129F465A6425216D0










      share|improve this question













      I am trying to get my vsftpd to use a MySQL database for storing usernames and passwords.



      I have followed this tutorial but it doesn't seem to be working and I think maybe



      Tutorial: https://www.howtoforge.com/tutorial/virtual-hosting-with-vsftpd-and-mysql-on-ubuntu-15.10/



      Is anyone able to point me in the right direction?



      ===========================================================================



      /var/log/auth.log




      Feb 15 12:18:08 ubuntu vsftpd: PAM unable to dlopen(pam_mysql.so): /lib/security/pam_mysql.so: undefined symbol: make_scrambled_password



      Feb 15 12:18:08 ubuntu vsftpd: PAM adding faulty module: pam_mysql.so




      vsftpd.conf



      listen=YES
      anonymous_enable=NO
      local_enable=YES
      write_enable=YES
      local_umask=022
      dirmessage_enable=YES
      xferlog_enable=YES
      connect_from_port_20=YES
      nopriv_user=vsftpd
      chroot_local_user=YES
      secure_chroot_dir=/var/run/vsftpd
      pam_service_name=vsftpd
      guest_enable=YES
      guest_username=vsftpd
      local_root=/home/vsftpd/$USER
      user_sub_token=$USER
      virtual_use_local_privs=YES
      user_config_dir=/etc/vsftpd_user_conf
      ssl_enable=YES
      allow_anon_ssl=YES
      force_local_data_ssl=YES
      force_local_logins_ssl=YES
      ssl_tlsv1=YES
      ssl_sslv2=NO
      ssl_sslv3=NO
      require_ssl_reuse=NO
      ssl_ciphers=HIGH
      rsa_cert_file=/etc/ssl/private/vsftpd.pem
      pasv_enable=Yes
      pasv_max_port=20000
      pasv_min_port=21000
      xferlog_enable=YES
      xferlog_file=/var/log/vsftpd.log



      /etc/pam.d/vsftpd



      auth required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2
      account required pam_mysql.so user=vsftpd passwd=ftpdpass host=localhost db=vsftpd table=accounts usercolumn=username passwdcolumn=pass crypt=2



      MySQL Database vsftpd "select * from accounts;"




      id username pass



      1 testuser1 encrypted




      Encryption Example:*668425423DB5193AF921380129F465A6425216D0







      mysql vsftpd pam






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 15 at 20:59









      user3712469

      64




      64

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006596%2fmysql-pam-intergration-error-pam-adding-faulty-module-pam-mysql-so%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006596%2fmysql-pam-intergration-error-pam-adding-faulty-module-pam-mysql-so%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Which professions warranted travel in Medieval times?

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error