Password quality check failing on Flatcar Linux 4152.2.1
Description
Password quality check is failing due to missing /usr/lib/cracklib_dict.pwd.gz and create-cracklib-dict command is not working since the filesystem is read-only.
Impact
Password quality checks are failing.
Environment and steps to reproduce
- Set-up: Flatcar Linux 4152.2.1 on VMware ESXi.
- Task: Checking password strength or changing password.
- Action(s): Running
pwscore,chpasswd, orpasswdcommands. - Error:
/usr/lib/cracklib_dict.pwd.gz: No such file or directory
Password quality check failed:
The password fails the dictionary check - error loading dictionary
Expected behavior
Password quality check should give password score.
Hi @snikhil1998,
Thanks for raising this. What's your use case here? From an immutable system approach we should not change passwords on a running Flatcar instance. That said, I think it's possible to do so by building this dictionary from a Docker image and to copy it on the system and then configure pwscore to load the dictionary from a non r-o location.
Is there a fix in progress for this? If yes, when can we expect it?
@snikhil1998 Could you please explain the usecase as @tormath1 mentioned in the earlier comment?