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