14 lines
445 B
C
14 lines
445 B
C
/* user and group to drop privileges to */
|
|
static const char *user = "nobody";
|
|
static const char *group = "nobody";
|
|
|
|
static const char *colorname[NUMCOLS] = {
|
|
[INIT] = "black", /* after initialization */
|
|
[INPUT] = "#268bd2", /* during input */
|
|
[FAILED] = "#CC3333", /* wrong password */
|
|
[CAPS] = "#b58900", /* CapsLock on */
|
|
};
|
|
|
|
/* treat a cleared input like a wrong password (color) */
|
|
static const int failonclear = 1;
|