Bypass BAD PASSWORD: The password fails the dictionary check Debian 11

How to bypass BAD PASSWORD: The password fails the dictionary check – it is based on a dictionary word on Debian 11.

in /etc/pam.d/common-password add dictcheck=0 to the line below:

#nano /etc/pam.d/common-password
#password requisite pam_pwquality.so try_first_pass local_users_only authtok_type= minlen=8 retry=3 difok=3 enforce_for_root
password requisite pam_pwquality.so try_first_pass local_users_only authtok_type= minlen=8 dictcheck=0 retry=3 difok=3 enforce_for_root

ADD dictcheck=0