RHEL 9 must configure SELinux context type to allow the use of a nondefault faillock tally directory.
An XCCDF Rule
Description
Not having the correct SELinux context on the faillock directory may lead to unauthorized access to the directory.
- ID
- SV-258080r1045162_rule
- Version
- RHEL-09-431020
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure RHEL 9 to allow the use of a nondefault faillock tally directory while SELinux enforces a targeted policy.
First enable the feature using the following command:
$ sudo authselect enable-feature with-faillock