-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
Description
-p on C sudo would replace the entire prompt which ansible relied on for privilege escalation. -p on sudo-rs just appends it within the brackets. With sudo-rs being the default on Ubuntu now, this breaks a lot of ansible scripts.
To Reproduce
$ sudo -p "password:" hostname
[sudo: password:] Password:
Expected behavior
$ sudo -p "password:" hostname
password:
Environment:
- Linux distribution: [Ubuntu 25.10]
sudo-rsversion [0.2.8`]
Additional context
Same behavior happens on 0.2.12 as well
Reactions are currently unavailable