diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2022-01-27 13:21:40 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2022-01-27 13:21:40 -0500 |
| commit | 00ed51a7ba69c2de50eeb32e85aaec06a0f965da (patch) | |
| tree | 9668ed807deb8fdc52368c16cc43460d0bcb6b06 /config.def.h | |
| parent | 9f2a21d78bf8443f966cb35275569e5c9d0c4ba8 (diff) | |
| download | slock-00ed51a7ba69c2de50eeb32e85aaec06a0f965da.tar.gz | |
Applied PAM patch
Because PSU machines use active directory, I applied the PAM patch
to allow slock to work on them.
https://tools.suckless.org/slock/patches/pam_auth/
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 38dbee1..c574485 100644 --- a/config.def.h +++ b/config.def.h @@ -8,6 +8,7 @@ static const char *colorname[NUMCOLS] = { [INPUT] = "#005577", /* during input */ [FAILED] = "#CC3333", /* wrong password */ [CAPS] = "red", /* CapsLock on */ + [PAM] = "#9400D3", /* waiting for PAM */ }; @@ -24,6 +25,9 @@ ResourcePref resources[] = { /* 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"; + /* insert grid pattern with scale 1:1, the size can be changed with logosize */ static const int logosize = 75; /* grid width and height for right center alignment */ |