Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by Obscurity4340 on Saturday March 21, 2026 @08:38AM
(#47466476)
Its funny how a single japanese symbol would be harder to crack than the anglicized name for it
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by LoganDark on Saturday March 21, 2026 @01:09PM
(#47468918)
Do we know if the asterisks count Unicode code points rather than bytes?
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by Izkata on Saturday March 21, 2026 @01:35PM
(#47469218)
Doesn't really matter, the IME shows the input until you confirm which kanji you want.
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by LoganDark on Saturday March 21, 2026 @01:48PM
(#47469367)
When the IME inserts the character, it'll be made up of multiple bytes because of the nature of UTF-8, so it may appear as multiple asterisks regardless.
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by necovek on Sunday March 22, 2026 @02:51PM
(#47480767)
Most software, traditional sudo included, would respect the LC_CTYPE being set to an UTF-8 (or any of the older multi-byte encodings), and do proper character counting.
At the very least, all GNU tools put a lot of focus on localization support, and I hope sudo-rs is the same.
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by elcritch on Sunday March 22, 2026 @08:46PM
(#47484080)
Having LC_CTYPE bit set to utf8 would be my worry. Would suck to not be able to logging because the LC* lang changed.
Hmmm, hopefully sudo-rs respects LC* env vars. I recall reading a few years back that some Rust Unix tools skipped that and won big on benchmarks until folks realized they weren’t handling NC localization properly.
Re:Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords
by dhosek on Saturday March 21, 2026 @01:41PM
(#47469287)
I’ve occasionally contemplated using some non-ASCII character like • or š in a password, but have backed off for fear of needing access from a device that doesn’t support input of those characters.
For ascii at 95 printable chars you get 0.9894736842. Makes intuitive sense as the "weight" of each digit increases, taking away a digit matters less to the total combos.
Maybe I'll start using one Japanese Kanji to confuse would be hackers! They could spend hours trying to brute force it while wondering why they can't crack my one letter password they saw in my terminal prompt. ;)