From 4e7c6e5ace7eeb47c8252d9d24899959032b31dd Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 16 Jan 2022 13:26:45 +0100 Subject: Apply pam patch --- config.def.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index a0305fb..d631a8d 100644 --- a/config.def.h +++ b/config.def.h @@ -7,11 +7,15 @@ static const char *colorname[NUMCOLS] = { [INIT] = "black", /* after initialization */ [INPUT] = "#005577", /* during input */ [FAILED] = "#CC3333", /* wrong password */ + [PAM] = "#9400D3", /* waiting for PAM */ }; /* treat a cleared input like a wrong password (color) */ static const int failonclear = 1; +/* PAM service that's used for authentication */ +static const char* pam_service = "login"; + /* time in seconds to cancel lock with mouse movement */ static const int timetocancel = 4; -- cgit v1.2.3-70-g09d2