Skip to content

Commit

Permalink
Add template lineinfile to verify_use_mappers
Browse files Browse the repository at this point in the history
  • Loading branch information
dodys authored and richardmaciel-canonical committed Aug 25, 2021
1 parent 9935f90 commit 2bb211e
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <tt>use_mappers</tt> is set to <tt>pwent</tt> in
<tt>/etc/pam_pkcs11/pam_pkcs11.conf</tt> file with the following command:
<pre>$ grep ^use_mappers /etc/pam_pkcs11/pam_pkcs11.conf
use_mappers = pwent</pre>
template:
name: lineinfile
vars:
text: "use_mappers = pwent"
path: /etc/pam_pkcs11/pam_pkcs11.conf
oval_extended_definitions:
smartcard_configure_cert_checking

0 comments on commit 2bb211e

Please sign in to comment.