diff options
author | mboelen <michael@cisofy.com> | 2015-10-23 16:53:22 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-10-23 16:53:22 +0300 |
commit | 7afc82a8aa0ea3652c9d2265ae82efd6f1c5cc26 (patch) | |
tree | 44802278b792eb8e0826f73c54a4a9aed9711600 /plugins | |
parent | e2b8b9b18a38d3c2d99538eb7dbdfa88970e455d (diff) |
Set enable status of pwhistory module at beginning of test
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin_pam_phase1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_pam_phase1 b/plugins/plugin_pam_phase1 index c2a4c1de..08029c08 100644 --- a/plugins/plugin_pam_phase1 +++ b/plugins/plugin_pam_phase1 @@ -155,6 +155,7 @@ pam_pwhistory) logtext "Result: found ${PAM_MODULE} module (password history)" # set default for having pam_pwhistory enabled + PAM_PASSWORD_PWHISTORY_ENABLED=1 if [ "${PAM_PASSWORD_PWHISTORY_AMOUNT}" = "" ]; then PAM_PASSWORD_PWHISTORY_AMOUNT=10; fi if [ ! "${PAM_MODULE_OPTIONS}" = "" ]; then for I in ${PAM_MODULE_OPTIONS}; do @@ -166,7 +167,6 @@ logtext "Result: password history (remember) configured for pam_pwhistory" DigitsOnly ${VALUE} PAM_PASSWORD_PWHISTORY_AMOUNT=${VALUE} - PAM_PASSWORD_PWHISTORY_ENABLED=1 Debug "Found password history enabled with module ${PAM_MODULE_NAME} and password amount ${PAM_PASSWORD_PWHISTORY_AMOUNT}" ;; esac |