Skip to content

Instantly share code, notes, and snippets.

@syntactician
Created March 20, 2017 16:50
Show Gist options
  • Save syntactician/495358605b8314881d5643bb6b667cab to your computer and use it in GitHub Desktop.
Save syntactician/495358605b8314881d5643bb6b667cab to your computer and use it in GitHub Desktop.
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *colorname[NUMCOLS] = {
[INIT] = "#3a3a3a", /* after initialization */
[INPUT] = "#4e4e4e", /* during input */
[FAILED] = "#d68787", /* wrong password */
};
/* treat a cleared input like a wrong password (color) */
static const int failonclear = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment