From 60fc916f9019576498504022f0951b1f393efccb Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 2 May 2020 16:16:26 +0200 Subject: [PATCH] Initial config --- config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 config.h diff --git a/config.h b/config.h new file mode 100644 index 0000000..92ef6dc --- /dev/null +++ b/config.h @@ -0,0 +1,12 @@ +/* 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 */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 0;