diff options
author | Bradley Taunt <bt@btxx.org> | 2024-01-18 13:01:04 -0500 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-01-18 13:01:04 -0500 |
commit | bde3db26330f878d073359476f27c3a90c9b582d (patch) | |
tree | 3f1308098a7eada810246029bb92a05b4c2345c7 /config.h |
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..9855e21 --- /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 = 1; |