Information
The operating system must have the "libpam-pwquality" package installed.
GROUP ID: V-270661
RULE ID: SV-270661r1067175
Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. "pwquality" enforces complex password construction configuration and has the ability to limit brute-force attacks on the system.
Solution
Install the "pam_pwquality" package by using the following command:
$ sudo apt install -y libpam-pwquality