From 187986e3ab7d81116215fdd81bbceeb196bb524f Mon Sep 17 00:00:00 2001 From: Alan Moore Date: Fri, 17 Jan 2025 10:14:14 +0000 Subject: [PATCH] Add -Initial line without use_authtok for pwhistory configuration --- shared/macros/10-bash.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/macros/10-bash.jinja b/shared/macros/10-bash.jinja index 13a74c32564..cbb217a783c 100644 --- a/shared/macros/10-bash.jinja +++ b/shared/macros/10-bash.jinja @@ -1019,6 +1019,7 @@ Default: yes Priority: 1024 Password-Type: Primary Password: {{{ control }}} pam_pwhistory.so remember=24 enforce_for_root try_first_pass use_authtok +Password-Initial: {{{ control }}} pam_pwhistory.so remember=24 enforce_for_root try_first_pass EOF fi