Bug 66 - Add target user %-expansion for password prompt
Add target user %-expansion for password prompt
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.0
PC Linux
: normal enhancement
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-19 15:10 MST by msg2-spam
Modified: 2002-12-14 15:40 MST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msg2-spam 2002-01-19 15:10:56 MST
It would be nice & useful to have an %-expansion for the password prompt that
expands to the user whose password is being prompted for (i.e. the target user).
 That would allow default prompts like "Password for FOO:", which is rather more
informative than just plain "Password:", especially when using sudo to run a
program/script that will prompt for other passwords.  It can get confusing when
you have consecutive "Password:" prompts and aren't sure which is which.
Comment 1 Todd C. Miller 2002-12-14 11:40:48 MST
The next version of sudo will have a %U escape in the prompt that does this.