-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Milestone
Description
Hellohello! While format specifiers set through the -p
argument are expanded, for SUDO_PROMPT
they are printed literally.
$> sudo-rs -p "password for %p" -s
[sudo: password for user] Password: ^C
$> SUDO_PROMPT="password for %p" sudo-rs -s
[sudo: password for %p] Password: ^C
Expected behavior
-p
and SUDO_PROMPT
behave in the same way.
On a related note: It would be great if the passprompt sudoers setting could be implemented as well.
And finally: Thank you so much for sudo-rs!
squell
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers