sudo-rs echos * for every character typed breaking historical security measures older than I am
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| rust-sudo-rs (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
Just upgraded 26.04 amd64v3 to sudo-rs 0.2.12-0ubuntu1
Before this upgrade, as expected, typing a password in a terminal echos NOTHING.
After this upgrade, I get STARS ECHOED.
WHY?!
This goes against DECADES of NOT ECHOING THE LENGTH OF THE PASSWORD TO SHOULDER SURFERS.
FIX THIS.
mike@Ljomi:~$ sudo fuck
[sudo: authenticate] Password:
sudo: Authentication failed, try again.
[sudo: authenticate] Password: *******
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: sudo-rs 0.2.12-0ubuntu1
ProcVersionSign
Uname: Linux 6.18.0-9-generic x86_64
NonfreeKernelMo
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Wed Feb 25 18:52:14 2026
InstallationDate: Installed on 2024-05-10 (656 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: rust-sudo-rs
Sudoers:
Error: command ['pkexec', '/bin/cat', '/etc/sudoers'] failed with exit code 127: Error executing command as another user: Not authorized
This incident has been reported.
UpgradeStatus: Upgraded to resolute on 2026-01-19 (38 days ago)
VisudoCheck:
Error: command ['pkexec', '/usr/sbin/visudo', '-c'] failed with exit code 127: Error executing command as another user: Not authorized
This incident has been reported.
| information type: | Private Security → Public Security |

Hi there mystica! I understand your frustration. This change has been introduced to improve the user experience for inputting the password. As is the case with running on a development branch, changes are introduced as they are released. The final release notes of Resolute Raccoon will mention this change and how to revert it if desired.
If you frequent in the presence of shoulder surfers, you can go back to the old behavior by running:
$ sudo visudo
And adding the line:
Defaults !pwfeedback
To the sudoers configuration file.
As this is intended behavior, I will mark this as "Won't Fix". Still, I want to thank you for the bug report.
All the best,
Simon