blob: ba37a592200cfcc39760d02a28f707553ee286d4 (
plain) (
tree)
|
|
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */
[INPUT] = "#005577", /* during input */
[FAILED] = "#CC3333", /* wrong password */
[CAPS] = "red", /* CapsLock on */
[PAM] = "#9400D3", /* waiting for PAM */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
/* allow control key to trigger fail on clear */
static const int controlkeyclear = 1;
/* time in seconds before the monitor shuts down */
static const int monitortime = 7;
/* PAM service that's used for authentication */
static const char* pam_service = "login";
|