2016-09-07 11:32:29 +00:00
|
|
|
/* user and group to drop privileges to */
|
|
|
|
static const char *user = "nobody";
|
2020-02-06 07:08:37 +00:00
|
|
|
static const char *group = "nobody";
|
2016-09-07 11:32:29 +00:00
|
|
|
|
2015-02-11 22:56:35 +00:00
|
|
|
static const char *colorname[NUMCOLS] = {
|
2016-11-19 23:29:41 +00:00
|
|
|
[INIT] = "black", /* after initialization */
|
|
|
|
[INPUT] = "#005577", /* during input */
|
|
|
|
[FAILED] = "#CC3333", /* wrong password */
|
2015-02-11 22:56:35 +00:00
|
|
|
};
|
2016-02-14 00:32:02 +00:00
|
|
|
|
2016-11-19 23:29:41 +00:00
|
|
|
/* treat a cleared input like a wrong password (color) */
|
2016-02-14 00:32:02 +00:00
|
|
|
static const int failonclear = 1;
|