Page MenuHomeSolus

Setting a password for a new user in the Budgie GUI is not possible unless dictcheck=0
Closed, ResolvedPublic


Tested at 5.11.9-176.current (updated system), also tested with live 4.2 sans updates, issue is the same:

If Users -> authenticate -> Add user -> Set a password now: whatever is written will be rejected on the basis of being "too common". For instance "___/77345230+4923+904IJjsmcmmmsllMMMMOOOO__///(/&&Y(UIHahsdbhabshjdbjahsbdhbasjdbasdb"

The journal says

budgie-panel.desktop[85685]: /usr/share/cracklib/pw_dict: error reading header

everytime the "too common" message appears.
If /etc/security/pwquality.conf : dictcheck = 0

then the New user's password is settable.

Thesis: the Solus default config is to compare the given password for the new user in the Add user dialog in the Budgie GUI with a dictionary, however this dictionary cannot be read and as a result (precaution maybe) the dictionary is supposed to contain every word there ever was and ever will be.

Preferred outcome: the dictionary becomes readable, a new password of reasonable complexity is possible to set for a new user in the budgie GUI by default and there is no error in the journal.

Event Timeline

Ephebopus created this task.Fri, Apr 2, 7:01 AM
Ephebopus updated the task description. (Show Details)Fri, Apr 2, 7:02 AM

Pinging @YakoYakoYokuYoku since he was the last one to touch any of the cracklib stuff.

Found that I've generated a cracklib package that ships with an empty word dictionary. This is an upstream bug (the empty dict), but I'll post a patch that will correctly create the dict.