From b6e46ac776f80b9da3b29035dc03059ad72976a4 Mon Sep 17 00:00:00 2001 From: Alan Moore Date: Wed, 8 Jan 2025 10:37:18 +0000 Subject: [PATCH] Check the pam_unix.so in oval --- .../accounts_password_pam_unix_no_remember/oval/shared.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux_os/guide/system/accounts/accounts-restrictions/password_storage/accounts_password_pam_unix_no_remember/oval/shared.xml b/linux_os/guide/system/accounts/accounts-restrictions/password_storage/accounts_password_pam_unix_no_remember/oval/shared.xml index 02840d014bd..65623bb8ea1 100644 --- a/linux_os/guide/system/accounts/accounts-restrictions/password_storage/accounts_password_pam_unix_no_remember/oval/shared.xml +++ b/linux_os/guide/system/accounts/accounts-restrictions/password_storage/accounts_password_pam_unix_no_remember/oval/shared.xml @@ -13,7 +13,7 @@ ^/etc/pam.d/common-(password|auth|account|session|session-noninteractive)$ - ^[^#]*\bremember=\d+\b.*$ + ^\s*password\s+(?:(?:sufficient)|(?:required)|(?:\[.*\]))\s+pam_unix\.so.*\bremember=\d+\b.*$ 1