Hi!

> As a result of http://bugs.debian.org/343268, sudo now uses a
> grandiloquent prompt:
> 
>     [sudo] password for twb:
> 
> This is not matched by M-x shell's password regexp, so the user is
> suddenly faced with their passwords being echoed to the screen.

Just like gksu, everything that parses the output of sudo has to use
-p to set a custom prompt. Relying on "Password:" is doomed to fail:

 - Users of sudo could configure a different prompt in earlier
   versions, too.
 - Current sudo is i18n'ed, and thus will output the translated
   version of "Password:" now.
 - If you use additional PAM modules (like pam-thinkfinger) these will
   modify the password prompt, too.

So reverting #343268 wouldn't fix this at all.

> PPS: this issue has affected Ubuntu Gutsy for some time. Because
> Ubuntu makes it difficult for tty users to report bugs, I do not
> report bugs to them, instead waiting until they can be reproduced on
> Debian.

You can send Ubuntu bugs by mail [1] or use a text mode browser.
Or just mail me directly.

Thanks,

Martin

[1] https://help.launchpad.net/BugTrackerEmailInterface

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to