Install libpam-script by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-script
Description:
PAM module which allows executing a script
This module will allow you to execute scripts during authorization, password changes and sessions. This is very handy if your current security application has no PAM support but is accessible with perl or other scripts.
Homepage: https://github.com/jeroennijhof/pam_script
Version: 1.1.9-1
Section: universe/admin