Bug 2047713

Summary: It is possible to proceed with installation without creating neither admin account nor root account
Product: Red Hat Enterprise Linux 9 Reporter: František Zatloukal <fzatlouk>
Component: doc-Release_Notes-9-en-USAssignee: Lenka Špačková <lkuprova>
Status: CLOSED CURRENTRELEASE QA Contact: RHEL DPM <rhel-docs>
Severity: unspecified Docs Contact: Sagar Dubewar <sdubewar>
Priority: unspecified    
Version: 9.0CC: jstodola, rhel-docs, sdubewar, vslavik
Target Milestone: rcKeywords: TestCaseNeeded, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
.Anaconda fails to verify existence of an administrator user account While installing RHEL using a graphical user interface, Anaconda fails to verify if the administrator account has been created. As a consequence, users might install a system without any administrator user account. To work around this problem, ensure you configure an administrator user account or the root password is set and the root account is unlocked. As a result, users can perform administrative tasks on the installed system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-09 13:56:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2027125    

Description František Zatloukal 2022-01-28 11:44:28 UTC
Description of problem:
Going through the RHEL 9 Beta installation is possible without allowing administrator access in the installed system.

Version-Release number of selected component (if applicable):
anaconda-34.25.0.25-1.el9

How reproducible:
Always

Steps to Reproduce:
1. Boot up RHEL-9.0.0-20220127.4-x86_64-dvd1.iso
2. Create non-admin user
3. Set up root password (enabling the root account)
4. Disable the root account

Actual results:
You'll end up with installed system without any way to perform administrator tasks (neither root nor sudo access is available)

Expected results:
The installation that results in such scenario shouldn't be possible. 

Additional info:

Comment 2 František Zatloukal 2022-01-28 13:46:20 UTC
FYI, this can't be reproduced on Fedora 35, I barely remember that it's possible it was fixed during the f35 development cycle, but I am still yet to find the BZ/commit.

Comment 3 František Zatloukal 2022-01-28 13:49:28 UTC
This should be the fix: https://github.com/rhinstaller/anaconda/pull/3665

Comment 6 Vladimír Slávik 2022-01-28 15:44:29 UTC
Backporting the upstream fix: https://github.com/rhinstaller/anaconda/pull/3800

Comment 13 Lenka Špačková 2022-02-09 13:56:45 UTC
Closing, the release note has been published:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html-single/9.0_release_notes/index#BZ-2047713