Error on trying to change password

Bug #1909596 reported by schollsky
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cracklib2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Package shadow is suggested, but I'm unsure.

I tried this after fresh installation (dual boot):

$ passwd
Changing password for stefan.
Current password:
New password:
/var/cache/cracklib/cracklib_dict.pwd.gz: No such file or directory
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
New password:

Changing to new password is not possible.

ProblemType: Bug
DistroRelease: Ubuntu 20.10
Package: passwd 1:4.8.1-1ubuntu6
ProcVersionSignature: Ubuntu 5.8.0-33.36-generic 5.8.17
Uname: Linux 5.8.0-33-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Tue Dec 29 18:41:26 2020
InstallationDate: Installed on 2020-12-29 (0 days ago)
InstallationMedia: Ubuntu-MATE 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: shadow
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
schollsky (schollsky) wrote :
Steve Beattie (sbeattie)
affects: ubuntu → cracklib2 (Ubuntu)
Revision history for this message
Steve Beattie (sbeattie) wrote :

Hi, it seems that for some reason cracklib has failed to generate /var/cache/cracklib/cracklib_dict.pwd (or /var/cache/cracklib/cracklib_dict.pwd.gz).

There is a daily cronjob that is supposed to regenerate /var/cache/cracklib/cracklib_dict.pwd if the dictionaries it used as input are newer. I'm not sure why it's not generating your file correctly; you can manually run it via `sudo sh -xe /usr/sbin/update-cracklib` to see what's going wrong.

Also, for diagnostic purposes without needed to attempt to change the passwd, you can do `echo PASSWD | cracklib-check` to see if it is functioning correctly.

It would be good to work out how your system got in this state.

information type: Private Security → Public Security
information type: Public Security → Public
Norbert (nrbrtx)
tags: removed: groovy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.