Bug 1940124 - Reboot after Fedora 34 install to VM, deletes root user and prompts for new user to be created.
Summary: Reboot after Fedora 34 install to VM, deletes root user and prompts for new u...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-control-center
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Pete Walter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-17 16:12 UTC by Bill Sanford
Modified: 2021-03-19 15:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-19 15:25:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bill Sanford 2021-03-17 16:12:05 UTC
Description of problem:
After the initial install of F34, in Settings -> Users -> Change "Live System User" to "admin." and added password to admin account. Added user 'test' with password as standard user. In User GUI, switched test user to Administrator. and switched admin to non admin account. When prompted, I restarted session and it logged out the admin account.  Tried to login as admin, and I got the "Welcome to Fedora" Live user install screen. Rebooted VM (Force reboot from Boxes) and got the Welcome to Fedora screen where there were no users and I had to give user information to setup first user. From here I went into users and confirmed I was only user (Bill) in system. Added test user with different password.

The second time I repeated this with Admin user "Bill" and user "test" it behaved as expected and retained the users that were created and could manage them without issue.

Version-Release number of selected component (if applicable):
Fedora-Workstation-Live-x86_64-34-20210316.n.103

How reproducible:
100%

Steps to Reproduce:
1. In description
2.
3.

Actual results:
After switch of Administration roles of admin and user, a reboot requires to create initial user.

Expected results:
After switch of Administration roles of admin and user, a reboot should let the existing users be used without having to initialize user. 

Additional info:

Comment 1 Bill Sanford 2021-03-18 18:46:42 UTC
As an update to this bug:

As soon as I install F34, I reboot and the "Live System User" (Default user install) is removed and I am prompted to setup a user that will be installed (supposedly) as root. With this new user, I have NO su access to do anything but can add software through the Software app in GNOME 40

Before the reboot, I have "liveuser:x:1000:1000:Live System User:/home/liveuser:/bin/bash" in /etc/passwd. After reboot I have "bill:x:1000:1000:Bill:/home/bill:/bin/bash"

Comment 2 Adam Williamson 2021-03-18 19:15:26 UTC
This sounds like it's all just working as intended.

the 'liveuser' user account is only intended to exist during the live session, it's not intended to exist after install. It's actually created by a script that runs only during the live system boot (livesys.service).

The user account you create during first boot of the installed system has administrator privileges via sudo. 'sudo su' should give you a root prompt, after entering the user's password. If you want direct 'su' access or the ability to log in as root directly you can then run 'passwd' to set a password on the root account.


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