Add -B option to ring the bell before the password prompt.

This commit is contained in:
Todd C. Miller
2019-05-27 08:49:43 -06:00
parent dae484213e
commit 19c548fd57
6 changed files with 41 additions and 18 deletions

View File

@@ -86,6 +86,7 @@
#define TGP_ASKPASS 0x04 /* read from askpass helper program */
#define TGP_MASK 0x08 /* mask user input when reading */
#define TGP_NOECHO_TRY 0x10 /* turn off echo if possible */
#define TGP_BELL 0x20 /* bell on password prompt */
/* name/value pairs for command line settings. */
struct sudo_settings {