Browse Source

Change user and group

master
krrishg 4 years ago
parent
commit
ad511590d5
  1. 4
      config.def.h
  2. 12
      config.h

4
config.def.h

@ -1,6 +1,6 @@
/* user and group to drop privileges to */
static const char *user = "nobody";
static const char *group = "nogroup";
static const char *user = "krrish";
static const char *group = "krrish";
static const char *colorname[NUMCOLS] = {
[INIT] = "black", /* after initialization */

12
config.h

@ -0,0 +1,12 @@
/* user and group to drop privileges to */
static const char *user = "krrish";
static const char *group = "krrish";
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;
Loading…
Cancel
Save