Missing password dictionary file

I just created a new user, and want to intentionally set a bad password. The Gnome user settings screen prevents this, correctly pointing out that my bad password fails a dictionary attack.

I don’t care, but there is no override in the UI, so I went to the command line. It appears to have worked, but I got a warning and an error as well:


It’s good that I’m warned even on the command line, but what is the deal with a missing file? I’ve never seen this before, and when testing appears no matter the password I put in.

1 Like

Looks like it’s uncompressed, so I think we can probably ignore the error/warning:

$ rpmls cracklib-dicts
lrwxrwxrwx  /usr/lib64/cracklib_dict.hwm
lrwxrwxrwx  /usr/lib64/cracklib_dict.pwd
lrwxrwxrwx  /usr/lib64/cracklib_dict.pwi
lrwxrwxrwx  /usr/sbin/mkdict
-rw-r--r--  /usr/share/cracklib/cracklib-small.hwm
-rw-r--r--  /usr/share/cracklib/cracklib-small.pwd
-rw-r--r--  /usr/share/cracklib/cracklib-small.pwi
-rw-r--r--  /usr/share/cracklib/pw_dict.hwm
-rw-r--r--  /usr/share/cracklib/pw_dict.pwd
-rw-r--r--  /usr/share/cracklib/pw_dict.pwi

Nothing provides the gz:

$ sudo dnf whatprovides '/usr/share/cracklib/pw_dict.pwd.gz'
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.

You could report it as a bug if you wish so the maintainer can take a closer look?

1 Like

Seems to be already filed here: Cannot set password for newly created user in Gnome · Issue #400 · fedora-silverblue/issue-tracker · GitHub

1 Like