Install libpam-modules by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-modules
Pluggable Authentication Modules for PAM
This package completes the set of modules for PAM. It includes the pam_unix.so module as well as some specialty modules.