Closed ggbecker closed 4 years ago
@ggbecker also noticed that RHEL7CIS Benchmark had a similar issue and the Benchmark was fixed. See following entry in changelog:
Dec 27, 2017 | 2.2.0 | 6.1.6-6.1.9 - Aligned recommendations to match non-backup files (Ticket 5218)
Description of problem:
file_permissions_backup_etc_passwd
This rule sets the permission
600
for the file/etc/passwd-
, but as soon as a user is added to the system, the permissions are reverted back to644
. It's either a misalignment on CIS or a bug in the component which takes care of this file.Opening issue for awareness
SCAP Security Guide Version:
0.1.49
Operating System Version:
RHEL8
Steps to Reproduce:
chmod 600 /etc/passwd-
adduser user1
ls -la /etc/passwd-
Actual Results:
Permissions are reverted to 644
Expected Results:
Permissions are 600
Addition Information/Debugging Steps:
Report generated during RHEL8 installation phase selecting CIS profile eval_remediate_report.txt Report generated by a scan after installation of RHEL8 finished: xccdf_org.ssgproject.content_profile_cis.txt Note: change the extension back to
html
to be able to open the report in a browser.KB for RHEL7 created in 2017: https://access.redhat.com/solutions/3190922