This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2096911 - Add support for rules `lock root account` and `allow root ssh login with password`
Summary: Add support for rules `lock root account` and `allow root ssh login with pass...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: oscap-anaconda-addon
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Matěj Týč
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-14 14:30 UTC by Marek Haicman
Modified: 2023-08-31 10:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-31 10:02:44 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-1825 0 None Migrated None 2023-08-31 10:02:34 UTC
Red Hat Issue Tracker RHELPLAN-125235 0 None None None 2022-06-14 14:47:34 UTC
Red Hat Issue Tracker RTT-4909 0 None None None 2022-10-17 16:43:08 UTC
Red Hat Issue Tracker RTT-4910 0 None None None 2022-10-17 16:43:12 UTC
Red Hat Issue Tracker RTT-5253 0 None None None 2023-05-02 10:43:39 UTC

Description Marek Haicman 2022-06-14 14:30:49 UTC
Description of problem:
Anaconda added option to "Allow root SSH login with password" into GUI to circumvent default change in the SSH. As the `scap-security-guide` profiles in many cases require `PermitRootLogin no`, we are directly countering this option. Given the paradigm that whatever is configured by Anaconda is integrated as a special Anaconda-based check, we need it as well.

Version-Release number of selected component (if applicable):
2.0.0-8.el9

How reproducible:
reliably

Steps to Reproduce:
1. begin GUI installation of RHEL9
2. select OSPP profile
3. create root password, tick "allow root ssh login with password"
4. start installation
5. finish installation

Actual results:
no issue is encountered, /etc/ssh/sshd_config contains line
PermitRootLogin no

Expected results:
Installation won't start, as there's conflict of requirements

Additional info:
Anaconda team plans to add kickstart support via Bug 2033849 into 9.1

Comment 2 Marek Haicman 2022-06-15 17:12:20 UTC
To extend expected result:
When the misalignment happens (i.e. profile selected is opinionated about the option and the configuration in the "root password" spoke is not align with that), the addon hub icon should reflect the issue (or the issue can be represented any other way), and installation should not be allowed to start.

Comment 8 RHEL Program Management 2023-08-31 06:59:29 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 9 RHEL Program Management 2023-08-31 10:02:44 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues.

Users watching this BZ may not be automatically added to the Jira ticket.  Be sure to add yourself to the Watchers field in the Jira issue if you desire to continue following this issue.


Note You need to log in before you can comment on or make changes to this bug.