Install libpam-runtime by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-runtime
Runtime support for the PAM library
Contains configuration files and directories required for authentication to work on Debian systems. This package is required on almost all installations.