Install libapache2-mod-authnz-pam by entering the following commands in the terminal:
sudo apt update sudo apt install libapache2-mod-authnz-pam
Description:
PAM authorization checker and PAM Basic Authentication provider
mod_authnz_pam is a PAM authorization module, supplementing authentication done by other modules, for example mod_auth_kerb; it can also be used as full Basic Authentication provider which runs the [login, password] authentication through the PAM stack.
Homepage: http://www.adelton.com/apache/mod_authnz_pam/
Version: 1.1.0-1
Section: universe/web