To reproduce, update the system image to the latest and add some new user
vyos@r14# set system login user one authentication plaintext-password 12345 [edit] vyos@r14# commit [ system login ] Traceback (most recent call last): File "/usr/libexec/vyos/services/vyos-configd", line 144, in run_script script.verify(c) File "/usr/libexec/vyos//conf_mode/system_login.py", line 164, in verify result = evaluate_strength(plaintext_password) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/vyos/utils/auth.py", line 57, in evaluate_strength cracklib.FascistCheck(passwd) FileNotFoundError: [Errno 2] No such file or directory: '/var/cache/cracklib/cracklib_dict.pwd' [[system login]] failed Commit failed [edit] vyos@r14#
The bug was added after merging password complexity https://github.com/vyos/vyos-1x/pull/4390
It cannot find cache.
vyos@r14# ls /var/cache/cracklib ls: cannot access '/var/cache/cracklib': No such file or directory [edit] vyos@r14# [edit] vyos@r14# ls /var/cache/ containers debconf private [edit] vyos@r14#
It seems not affected on new installed system, but only if you upgrade a system,
It should be reverted or fixed,