Fedora Account System
Red Hat Associate
Red Hat Customer
Since at least the April 21 Rawhide image, it is nor possible to log-in as root without password when using the inst.sshd boot option. This might be related to how the root user is created by Lorax, as /etc/shadow on affected images has a weird "root:!unprovisioned:<number>::::::" line together with the regular root user definition line. Fedora 42 boot iso is not affected and passwordless root login after passing the inst.sshd boot option is possible as expected. Reproducible: Always Steps to Reproduce: 1. pass the inst.sshd boot option 2. use the "ip a" command to find the machine/virtual machine IP address 3. try to connect as root: "ssh root@<IP> Actual Results: A password is requested. As no password has been set anywhere, this prevent root from logging in. Expected Results: You are logged in as root without password being required.
Attaching images from the ISO where this is working and where it is not working anymore. Also a note, the `installer` user SSH access works as expected.
Created attachment 2088458 [details] Failing ISO - /etc/shadow root screeshot
Created attachment 2088459 [details] Successful ISO - /etc/shadow root screenshot
Created attachment 2088460 [details] Failed ISO - journal output when ssh as root
Proposed fix - https://github.com/weldr/lorax/pull/1469
FEDORA-2025-2d0f741832 (lorax-43.4-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-2d0f741832
FEDORA-2025-2d0f741832 (lorax-43.4-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.