[Bug 2107726] Re: Edge case while using `passwd` cmd
Pragyansh Chaturvedi
2107726 at bugs.launchpad.net
Wed Apr 23 08:12:26 UTC 2025
I can reproduce it on plucky, passwd version 1:4.16.0-7ubuntu1
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/2107726
Title:
Edge case while using `passwd` cmd
Status in shadow package in Ubuntu:
New
Bug description:
I was changing my sudo password to a new password and this is what
happened:
```
~$ sudo passwd
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: password updated successfully
```
- I tried to use the new sudo password and this happened:
```
$ sudo vi /etc/passwd
[sudo] password for ... :
Sorry, try again.
[sudo] password for ... :
Sorry, try again.
```
The old password worked, meaning that we have incorrect logging when a
short password is entered twice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/2107726/+subscriptions
More information about the foundations-bugs
mailing list