Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@ ocil: |-

If the account option is missing, or commented out, this is a finding.

{{% if product == "sle15" %}}
platform: os_linux[sles]<15.7 and package[pam]
{{% else %}}
platform: package[pam]
{{% endif %}}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ fixtext: |-
<pre>account required pam_tally2.so</pre></li>
</ul>

{{% if product == "sle15" %}}
platform: os_linux[sles]<15.7 and package[pam]
{{% else %}}
platform: package[pam]
{{% endif %}}

srg_requirement: |-
{{{ full_name }}} must automatically lock the root account until the root account is released by an administrator when three unsuccessful logon attempts occur during a 15-minute time period.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ fixtext: |-
Modify the content of both <tt>/etc/pam.d/login</tt>, like this:
<pre>auth required pam_tally2.so deny={{{ xccdf_value("var_accounts_passwords_pam_tally2_deny") }}} <tt>unlock_time={{{ xccdf_value("var_accounts_passwords_pam_tally2_unlock_time") }}}</tt> </pre>

{{% if product == "sle15" %}}
platform: os_linux[sles]<15.7 and package[pam]
{{% else %}}
platform: package[pam]
{{% endif %}}

srg_requirement: |-
{{{ full_name }}} must automatically lock an account until the locked account is released by an administrator.
4 changes: 4 additions & 0 deletions shared/applicability/os_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ args:
os_name: "Oracle Linux"
os_id: 'ol'
os_id_ansible: "OracleLinux"
sles:
os_name: "SUSE Linux Enterprise Server"
os_id: 'sles'
os_id_ansible: "SLES"
Loading