Skip to content

Commit 3a6dbf7

Browse files
committed
TESTING ONLY: unselect the 3 remaining CIS-diff rules from RHEL9 cui
Temporarily unselects file_owner_at_allow, file_ownership_home_directories, and group_unique_name from the RHEL 9 cui profile, making it byte-for-byte identical to cis (468/468 selections match). This is purely to eliminate the last remaining content difference for the RHEL-9-x86_64 scp stabilization investigation. None of the 3 rules plausibly affect SSH: group_unique_name has no automated remediation at all, file_owner_at_allow only chowns /etc/at.allow, and file_ownership_home_directories explicitly excludes UID 0 (root, the account contest connects as) via its uid_min check. This commit is expected to be reverted once the investigation concludes; do not merge into master.
1 parent 66f182e commit 3a6dbf7

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

products/rhel9/profiles/cui.profile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,11 @@ selections:
4646
# match the variable defaults, pinned here for clarity/robustness)
4747
- var_selinux_state=enforcing
4848
- var_selinux_policy_name=targeted
49+
50+
# TESTING ONLY - temporarily unselect the 3 rules that are the only
51+
# remaining content difference vs cis, to get byte-for-byte parity
52+
# for the scp/RHEL-9-x86_64 stabilization investigation. Revert
53+
# before merging.
54+
- '!file_owner_at_allow'
55+
- '!file_ownership_home_directories'
56+
- '!group_unique_name'

tests/data/profile_stability/rhel9/cui.profile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ file_groupownership_audit_binaries
173173
file_groupownership_audit_configuration
174174
file_groupownership_sshd_private_key
175175
file_groupownership_sshd_pub_key
176-
file_owner_at_allow
177176
file_owner_backup_etc_group
178177
file_owner_backup_etc_gshadow
179178
file_owner_backup_etc_passwd
@@ -198,7 +197,6 @@ file_owner_sshd_config
198197
file_owner_user_cfg
199198
file_ownership_audit_binaries
200199
file_ownership_audit_configuration
201-
file_ownership_home_directories
202200
file_ownership_sshd_private_key
203201
file_ownership_sshd_pub_key
204202
file_ownership_var_log_audit_stig
@@ -239,7 +237,6 @@ firewalld_loopback_traffic_trusted
239237
gid_passwd_group_same
240238
gnome_gdm_disable_xdmcp
241239
group_unique_id
242-
group_unique_name
243240
groups_no_zero_gid_except_root
244241
grub2_audit_argument
245242
grub2_audit_backlog_limit_argument

0 commit comments

Comments
 (0)