Live data from Hacker News

Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

pbxscience.com

191–200 of 421 posts

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#191
How much information is there in knowing the length of someone's password?

If we know the password's length, it saves us from guessing any shorter passwords. For example, for a numeric password, knowing the length is 4 saves us from having to guess [blank], 0-9, 00-99 and 000-999. This lowers the number of possibilities from 1111 to 1000. The password has 90% of it's original strength. A [0-9a-zA-Z] password retains 98% of it's original strength

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#192

Earlier quoted context omitted.

Purpose: > That way you can be certain whether or not you entered a character

It's surprising to see an OS, dominant as a sever platform, now optimizing catering to people who are unsure whether they've pressed a button on their keyboard. What's next, replacing asterisks with a progress bar?

You are down-voted, but if we consider this to be the reason, it is indeed sad.

You can no longer filter out power users of computers based on their choice of OS alone. :D

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#193

They could have just made it an option to enable the new behavior. There was no need to change the default. As for security: 'shoulder surfing' may not be as much of a concern, but watching a livestream or presentation of someone who uses sudo will now expose the password length over the internet (and it's recorded for posterity, so all the hackers can find it later!). They've just introduced a new vulnerability to t…

Someone live streaming is well attuned to the dangers of exposing personal information on screen, and will hesitate before ever typing a password while streaming. They'll either disable this feature or open a root shell before beginning their stream.

Besides, I can just amplify their stream to hear their keypresses.

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#194

Earlier quoted context omitted.

And just sticking to counting, a not exceptionally well-trained ear could already count how many letters you typed and if you pressed backspace (at least with the double-width backspace, sound is definitely different)

Yeah I recall that there was an attack researchers demonstrated years back of using recordings of typing with an AI model to predict the typed text with some accuracy. Something to do with the timings of letter pairings, among other things.

93% - 95% accuracy and it wasn't even a good quality recording

> When trained on keystrokes recorded by a nearby phone, the classifier achieved an accuracy of 95%, the highest accuracy seen without the use of a language model. When trained on keystrokes recorded using the video-conferencing software Zoom, an accuracy of 93% was achieved, a new best for the medium.

https://arxiv.org/abs/2308.01074

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#195
post #139

This fixes another issue with that if you make a typo in your password, you don't know how many characters you need to delete, but now you would.

I find it's usually faster to hit ctrl-u and start over anyway.

I have a really long passphrase in keepassxc. I often try to type it, fail 50% of the time, display the password, fix the typo. I would not use a long passphrase otherwise. (I understand there are other risks, such as having spyware that is recording my screen, but my main worry is for the safety of the file itself)

I know sudo-rs will likely not allow viewing the password in the short term, but the benefit to being able to have some visual feedback, is that it lets me use a more complex password.

Other example: if I'm on a ssh link with very high latency (ex: on a phone), I might type one character at the time, make sure they register correctly, and continue. If I can't do that, then I'll type the password in a text editor, then copy-paste it into the password prompt.

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#196

I kind of hate typing in my password all the time. Is there a way to sacrifice some security and do something like... ask for my password but automatically input it if my phone is detected via Bluetooth? (not connected, just detected). I don't really want to just disable passwords. I recall that causing technical pains. And this is a desktop PC in my home office and I'm just generally okay with the associated securit…

Mac lets you use Touch ID or your Apple Watch to authenticate sudo. I expect you could set up something custom for Linux, it seems like the type of thing AI could put together very quickly.

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#197
post #137

If it is a new tool, why not call it something else than sudo? The expectation with sudo is silent passwords.

The expectation with sudo is that it escalates the privilege of the command I want to run. They don't rename Ubuntu every time they tweak the UI.

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#198
post #137

If it is a new tool, why not call it something else than sudo? The expectation with sudo is silent passwords.

Because if you name it something different it's harder to do the "extinguish" step of "embrace, extend, extinguish".

Must’ve been hard not to name it rusdo because Rust has to come first (before any logic).

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#199

They could have just made it an option to enable the new behavior. There was no need to change the default. As for security: 'shoulder surfing' may not be as much of a concern, but watching a livestream or presentation of someone who uses sudo will now expose the password length over the internet (and it's recorded for posterity, so all the hackers can find it later!). They've just introduced a new vulnerability to t…

I feel like livestreaming is a good example of an unusual situation where one might consider changing defaults that are otherwise good for the majority of users.

Also, I think the vulnerability of knowing that someone's password is exactly 19 characters long is low enough to be worth the tradeoff. Especially since someone on a livestream can also figure that out by listening for the keypresses.

Re: Ubuntu 26.04 Ends 46 Years of Silent sudo Passwords

#200

I don’t know why this keeps coming up. Has this been a big deal for everyone else? Like ok usability improvement, but the number of times I have read an article about this is silly.

I doubt this is about the asterisks at this point. It’s about Rust, rewriting working tools in Rust and showing that Rust is the way and the only way.
Post reply on HN