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