Skip to content

SLEM 5 must use the default pam_tally2 tally directory.

An XCCDF Rule

Description

By limiting the number of failed logon attempts, the risk of unauthorized system access via user password guessing, otherwise known as brute-force attacks, is reduced. Limits are imposed by locking the account. SELinux, enforcing a targeted policy, will be required to match the default directory's security context type.

ID
SV-261366r996837_rule
Version
SLEM-05-412030
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure SLEM 5 to use the default pam_tally2 tally directory while SELinux enforces a targeted policy.

Remove the pam_tallly nondefault tally directory if any, by removing "file=[directory-name]" configuration part from /etc/pam.d/login:

     > sudo sed -ri 's/\s+file=\S+\s+/ /g' /etc/pam.d/login