[Bug 2107726] [NEW] Edge case while using `passwd` cmd
Launchpad Bug Tracker
2107726 at bugs.launchpad.net
Sun Apr 20 23:09:10 UTC 2025
You have been subscribed to a public bug:
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.
** Affects: shadow (Ubuntu)
Importance: Undecided
Status: New
--
Edge case while using `passwd` cmd
https://bugs.launchpad.net/bugs/2107726
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to shadow in Ubuntu.
More information about the foundations-bugs
mailing list