2024-01-02 13:06:36 -05:00
|
|
|
/* user and group to drop privileges to */
|
|
|
|
static const char *user = "nobody";
|
2024-01-02 13:26:10 -05:00
|
|
|
static const char *group = "nobody";
|
2024-01-02 13:06:36 -05:00
|
|
|
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
|
|
[INIT] = "black", /* after initialization */
|
2024-01-02 13:07:44 -05:00
|
|
|
[INPUT] = "#111111", /* during input */
|
|
|
|
[FAILED] = "#551111", /* wrong password */
|
2024-01-02 13:06:36 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
|
|
static const int failonclear = 1;
|