Previous Topic: Testing the Password SynchronizationNext Topic: Passwords on OS400


Test the PAM Framework

A PAM test library is available to verify that the password changes are correctly detected by the PAM framework.

To test the PAM framework

  1. Copy the pam_test file to the /usr/lib/security(/hpux32) folder.
  2. Add a password class line for the pam_test library with no parameters.

    An example for Solaris follows:

    other password optional /usr/lib/security/pam_test
    
  3. Issue a passwd command on a test user and then search for the pam_test[<pid>] tagged line in the syslog file.

    The command output shows the name of the generated trace file, for example:

    pam_test[1417]: Succeeded, trace file is /tmp/pam_test-trace.1417