CentOS / sig-cloud-instance-images

CentOS cloud images
781 stars 563 forks source link

pwmake fails with 'Error: Password generation failed - required entropy too low for settings' #162

Open fchiacchiaretta opened 4 years ago

fchiacchiaretta commented 4 years ago

Hello, when running pwmake on CentOS Base image version 8, it fails with the following error

[root@f6db9f5985fc /]# pwmake 128
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory
Error: Password generation failed - required entropy too low for settings

Testing on CentOS base image version 7 it works properly.

On version 8:

[root@f6db9f5985fc /]# ls /usr/share/cracklib    
cracklib.magic

while on version 7:

[root@8769a41979aa /]# ls -1 /usr/share/cracklib
cracklib-small.hwm
cracklib-small.pwd
cracklib-small.pwi
cracklib.magic
pw_dict.hwm
pw_dict.pwd
pw_dict.pwi

Best, Federico Chiacchiaretta