[Bug 2107726] Re: Edge case while using `passwd` cmd
johnmkagunda
2107726 at bugs.launchpad.net
Wed Apr 23 08:11:59 UTC 2025
passwd version
```
Package: passwd
Version: 1:4.13+dfsg1-4ubuntu3.2
Priority: required
Section: admin
Source: shadow
```
`Linux 6.11.0-24-generic #24~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC x86_64
x86_64 x86_64 GNU/Linux`
--
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