Auto refresh to Core20 #1856, $passwd not works properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snap-core20 |
New
|
Undecided
|
Unassigned |
Bug Description
After auto refreshing core20 from #1832 to #1856,
observe the new core20 #1856 cannot run `$passwd` properly anymore.
Reported on Core20 GitHub as well
https:/
-------
iotuc@ubuntu:~$ passwd iotuc
Changing password for iotuc.
(current) UNIX password:
New password:
/var/cache/
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
New password:
/var/cache/
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
New password:
/var/cache/
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
passwd: Have exhausted maximum number of retries for service
passwd: password unchanged
iotuc@ubuntu:~$
iotuc@ubuntu:~$ snap changes
ID Status Spawn Ready Summary
4 Done 4 days ago, at 04:42 UTC 4 days ago, at 04:44 UTC Auto-refresh snap "core20"
iotuc@ubuntu:~$
iotuc@ubuntu:~$ snap list
Name Version Rev Tracking Publisher Notes
core20 20230308 1856 latest/stable canonical✓ base
kernel 5.4.0-1034.45.1 126 latest/edge canonical✓ kernel
network-manager 1.22.10-14 743 20/stable canonical✓ -
snapd 2.58.3 18600 latest/stable canonical✓ snapd
gadget 20-3 71 latest/edge/… OEM/ODM gadget
iotuc@ubuntu:~$
summary: |
- Auto refresh to Core20 #1856, run $passwd will show up - /var/cache/cracklib/cracklib_dict.pwd.gz: No such file or directory + Auto refresh to Core20 #1856, $passwd not works properly |
description: | updated |
description: | updated |
description: | updated |
If run with `$sudo`, it could change successfully, but it will show up 'error loading dictionary'
------- ------- ------- ------- ------- ------- ------- ---- cracklib/ cracklib_ dict.pwd. gz: No such file or directory
iotuc@ubuntu:~$ sudo passwd iotuc
New password:
/var/cache/
BAD PASSWORD: The password fails the dictionary check - error loading dictionary
Retype new password:
passwd: password updated successfully