diff --git a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/verify_use_mappers/rule.yml b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/verify_use_mappers/rule.yml index 9d55bdba304..3529687a5ff 100644 --- a/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/verify_use_mappers/rule.yml +++ b/linux_os/guide/system/accounts/accounts-physical/screen_locking/smart_card_login/verify_use_mappers/rule.yml @@ -26,3 +26,21 @@ references: disa: CCI-000187 srg: SRG-OS-000068-GPOS-00036 stigid@ubuntu2004: UBTU-20-010006 + +ocil_clause: 'use_mappers is not uncommented or configured correctly' + +ocil: |- + Verify that use_mappers is set to pwent in + /etc/pam_pkcs11/pam_pkcs11.conf file with the following command: + +
$ grep ^use_mappers /etc/pam_pkcs11/pam_pkcs11.conf + + use_mappers = pwent+ +template: + name: lineinfile + vars: + text: "use_mappers = pwent" + path: /etc/pam_pkcs11/pam_pkcs11.conf + oval_extended_definitions: + smartcard_configure_cert_checking