summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorDouglas Rumbaugh <doug@douglasrumbaugh.com>2022-01-31 22:06:40 -0500
committerDouglas Rumbaugh <doug@douglasrumbaugh.com>2022-01-31 22:06:40 -0500
commit9aa3aa74d788f418e291699547ee94e481974e92 (patch)
tree6c7e9491234808906ed0b492ba9beff29d43b50a /config.def.h
parentf809bf0e77983097927cd52c082b037125276682 (diff)
downloadslock-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.h2
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";