Install libpam-cracklib by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-cracklib
Description:
PAM module to enable cracklib support
This package includes libpam_cracklib, a PAM module that tests passwords to make sure they are not too weak during password change.
Homepage: http://www.linux-pam.org/
Version: 1.1.8-3.6ubuntu2
Section: admin