Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107726

Title:
  Edge case while using `passwd` cmd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2107726/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to