Installing for CentOS 6.5

Posted by Dan on Oct 24, 2014 @ 12:32 PM

I was working on getting vsftpd set up with some virtual users and wanted to use an Apache-style users file to manage the virtual users. I found a number of guides that showed how to configure things, but couldn't get it working. After much debugging, I realized the problem was that CentOS doesn't install the module by default.

So, before you can use a pwdfile with vsftpd, you will need to install the module. Here are the install directions I used:

  1. From your CentOS command prompt, type:

    cd /tmp
  2. Download the RPM package for

    curl -O
  3. Compile the code with RPM:

    rpm -Uvh pam_pwdfile-0.99-1.puias6.x86_64.rpm
  4. Verify the module has been compiled:

    ls -l /lib64/security/pam_p*

After you have installed the module, make sure to restart any services that you might be dependent on the PAM.

Categories: Technology

Add Comment

Leave this field empty