Hi b00n! Thanks for submitting the bug report and helping make Ubuntu
better. I have verified the behavior in sudo-rs and can confirm that it
deviates from sudo.ws which uses the expected behavior you presented.

If I understand correctly, the behavior you see in sudo-rs is actually
intended for security purposes (see
https://github.com/trifectatechfoundation/sudo-rs/issues/842), as
overwriting the entire prompt can obfuscate the type of expected input.

My current recommendation would be to file a bug report for emacs-rs, as
I believe it should be possible to add the observed prompt result to the
regex matching for its password prompt.

I understand your confusion regarding not finding "sudo-rs". Many
packages written in Rust use the prefix "rust-" due to how they are
handled in packaging.

I will mark this as "Won't Fix" for now since I interpret the behavior
as intended by upstream. Let me know if you think otherwise based on the
information I have provided.

Have a great day!

** Bug watch added: github.com/trifectatechfoundation/sudo-rs/issues #842
   https://github.com/trifectatechfoundation/sudo-rs/issues/842

** Changed in: rust-sudo-rs (Ubuntu)
       Status: New => Won't Fix

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

Title:
  sudo-rs --prompt  prints the wrong thing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2138761/+subscriptions


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

Reply via email to