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