From 73b8561617f4b523bfc7538a7016b94466e3c899 Mon Sep 17 00:00:00 2001 From: Alan Moore Date: Fri, 6 Dec 2024 15:49:08 +0000 Subject: [PATCH] Remove duplicated configuration --- .../accounts_password_pam_retry/bash/ubuntu.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_retry/bash/ubuntu.sh b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_retry/bash/ubuntu.sh index a0e6201f168..66ef54e7281 100644 --- a/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_retry/bash/ubuntu.sh +++ b/linux_os/guide/system/accounts/accounts-pam/password_quality/password_quality_pwquality/accounts_password_pam_retry/bash/ubuntu.sh @@ -3,8 +3,4 @@ {{{ bash_instantiate_variables("var_password_pam_retry") }}} {{{ bash_pam_pwquality_enable() }}} -PAM_FILE_PATH=/usr/share/pam-configs/cac_pwquality -if grep -qE 'pam_pwquality\.so.*retry=[^[:space:]]' "$PAM_FILE_PATH"; then - sed -i -E '/pam_pwquality\.so/ s/\bretry=[^[:space:]]*\b ?//' "$PAM_FILE_PATH" -fi {{{ bash_pam_pwquality_parameter_value('retry', "$var_password_pam_retry") }}}