From 9aa3aa74d788f418e291699547ee94e481974e92 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Mon, 31 Jan 2022 22:06:40 -0500 Subject: 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. --- config.def.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.def.h') 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"; -- cgit v1.2.3