Install libpam-wrapper by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-wrapper
Tool to test PAM applications and PAM modules
This component of cwrap allows you to either test your PAM (Linux-PAM and OpenPAM) application or module. . For testing PAM applications, simple PAM module called pam_matrix is included. If you plan to test a PAM module you can use the pamtest library, which simplifies testing of modules. You can combine it with the cmocka unit testing framework or you can use the provided Python bindings to write tests for your module in Python.