question
When executing passwd to change the password, the prompt is as shown in the figure below
analyze
When encountering such problems, it should be that there is an abnormality in the password library, and the operation may cause the library to be damaged. Manually uninstall or delete the library file, and reinstall and generate it.
operate
Delete the environment /usr/share/cracklib/pw_dict*
( rpm -e cracklib
you can also use it)
and reinstall ityum reinstall cracklib -y
verify
Perform passwd
another verification to see if it is resolved