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 2026916 - It's possible to enter the root spoke if rootpw --lock is in kickstart
Summary: It's possible to enter the root spoke if rootpw --lock is in kickstart
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: anaconda
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Vendula Poncova
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1942219
TreeView+ depends on / blocked
 
Reported: 2021-11-26 13:12 UTC by Jan Stodola
Modified: 2022-05-17 12:43 UTC (History)
3 users (show)

Fixed In Version: anaconda-34.25.0.26-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 12:30:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-104034 0 None None None 2021-11-26 13:13:24 UTC
Red Hat Issue Tracker RTT-4069 0 None None None 2021-12-07 16:44:05 UTC
Red Hat Issue Tracker RTT-4070 0 None None None 2021-12-07 16:44:11 UTC
Red Hat Product Errata RHBA-2022:2326 0 None None None 2022-05-17 12:30:56 UTC

Description Jan Stodola 2021-11-26 13:12:43 UTC
Description of problem:
Based on [1], the "rootpw --lock" kickstart command should disable the root password screen:

"--lock - If this option is present, the root account is locked by default. This means that the root user will not be able to log in from the console. This option will also disable the Root Password screens in both the graphical and text-based manual installation."


However, if an incomplete kickstart is provided, anaconda allows to enter the root password spoke and change the settings. 

[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html/performing_an_advanced_rhel_installation/kickstart-commands-and-options-reference_choose-your-title-id#rootpw-required_kickstart-commands-for-system-configuration

Version-Release number of selected component (if applicable):
RHEL-9.0.0-20211124.3
anaconda-34.25.0.20-1.el9

How reproducible:
Always

Steps to Reproduce:
1. Start a kickstart installation with "rootpw --lock", do not specify the partitioning
2. Wait until the main hub shows.

Actual results:
Anaconda allows to enter the root password spoke and change the settings.

Expected results:
* The root password screen is disabled in both GUI and TUI OR
* The documentation is updated.

Comment 6 Jan Stodola 2022-02-14 09:13:09 UTC
Checked that anaconda-34.25.0.26-1.el9 is in nightly compose RHEL-9.0.0-20220210.0

Moving to VERIFIED

Comment 8 errata-xmlrpc 2022-05-17 12:30:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: anaconda), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2326


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