|
Bugzilla – Full Text Bug Listing |
| Summary: | Give hint who (sudo) asks for password entry | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | m1027 |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | low | ||
| Priority: | low | ||
| Version: | 1.8.22 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
m1027
2018-05-31 01:39:23 MDT
You can set the sudo prompt in two ways.
1) In the sudoers file. For example, the following line will change the prompt to:
[sudo] password for username:
Defaults passprompt = "[sudo] password for %p: "
2) By setting the SUDO_PROMPT environment variable.
See the sudoers manual for more information on passprompt and the escapes it supports.
|