diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-01-31 22:06:40 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2022-01-31 22:06:40 -0500 |
| commit | 9aa3aa74d788f418e291699547ee94e481974e92 (patch) | |
| tree | 6c7e9491234808906ed0b492ba9beff29d43b50a /config.def.h | |
| parent | f809bf0e77983097927cd52c082b037125276682 (diff) | |
| download | slock-9aa3aa74d788f418e291699547ee94e481974e92.tar.gz | |
pam_auth toggle: Can switch between PAM and Shadow Authentication
Added a new configuration option to toggle between using PAM for
authentication, or the original Shadow-file based approach.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 6c80fd3..8ce4fc5 100644 --- a/config.def.h +++ b/config.def.h @@ -27,6 +27,8 @@ ResourcePref resources[] = { /* treat a cleared input like a wrong password (color) */ static const int failonclear = 0; +static const int use_pam = 0; + /* PAM service that's used for authentication */ static const char* pam_service = "login"; |