CNF-21212: RAN Hardening (5.0) - PAM Empty Passwords (H2)#821
CNF-21212: RAN Hardening (5.0) - PAM Empty Passwords (H2)#821sebrandon1 wants to merge 1 commit into
Conversation
|
@sebrandon1: This pull request references CNF-21212 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sebrandon1 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@sebrandon1: This pull request references CNF-21212 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@sebrandon1: This pull request references CNF-21212 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
64092b7 to
fe65996
Compare
Remove nullok from PAM system-auth and password-auth on both master and worker nodes.
fe65996 to
3a79a7a
Compare
Summary
Adds MachineConfig to remove the
nullokoption from PAM authentication on both master and worker nodes.This addresses a HIGH severity finding from the ACSC Essential Eight compliance profile — the
no_empty_passwordsrule requires preventing authentication with empty passwords./etc/pam.d/system-authwithnullokremovedUpstream
We have an open PR to fix this in the RHCOS base image so this MachineConfig remediation would no longer be needed:
without-nullokWe also have an upstream fix for the broken compliance-operator remediation:
no_empty_passwordsremediation for RHCOS 9Remediation Group
Files
75-pam-auth-high-master.yaml75-pam-auth-high-worker.yamlVerification
After applying to a cluster, verify with:
oc debug node/ -- chroot /host grep nullok /etc/pam.d/system-auth # Expected: no output (nullok removed)Jira
Supersedes #736 — migrated from
compliance/4.22/*tocompliance/5.0/*branch naming.OCP 5.0 Verification (2026-06-22)
Cluster: cnfdt16 — OCP 5.0.0-0.nightly-2026-06-18-000016, RHCOS 10.2
Finding: Hardening still needed. RHCOS 10 authselect templates still ship with
nullok.The
without-nullokauthselect feature exists but is not enabled by default. Upstream PRs (coreos/rhel-coreos-config#255, ComplianceAsCode/content#14602) remain open.