[Linux] Modify the password prompt dictionary problem, one trick to get it!

question

When executing passwd to change the password, the prompt is as shown in the figure below
insert image description here

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 passwdanother verification to see if it is resolved

Guess you like

Origin blog.csdn.net/imliuqun123/article/details/130595450