| Summary: | Can't boot into init 1 on LiveCD | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> | ||||
| Component: | LiveCD | Assignee: | Matthias Clasen <mclasen> | ||||
| Status: | CLOSED DEFERRED | QA Contact: | |||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 20 | CC: | dennis, harald, johannbg, jonathan, kzak, lnykryn, mluscon, msekleta, plautrba, systemd-maint, vpavlin, zbyszek | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-08-29 13:28:41 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: | |||||
| Attachments: |
|
||||||
|
Description
Kamil Páral
2013-08-26 12:27:30 UTC
$ fgrep ExecStart= /lib/systemd/system/rescue.service ExecStart=-/sbin/sulogin $ rpm -qf /sbin/sulogin util-linux-2.23.2-2.fc19.x86_64 sulogin should be able to cope with the empty password Note that I'm not able to reproduce the problem with the latest RHEL7 (also util-linux 2.23.2-2) with empty root password in /etc/shadow. ... going to try it with F20 LiveCD. I see root:*:15921:0:99999:7::: in LiveCD /etc/shadow. It's really not empty password, see shadow(5) man page for more details. The sulogin(1) command works as expected. Reassigning... I just booted Fedora-Live-Desktop-x86_64-20-Alpha-TC1-1.iso and I see root::15946:0:99999:7::: in /etc/shadow. The password is empty. I can log in using "su -" or on tty2 without providing a password. Karel, which LiveCD did you use? So, mystery solved by Karel Zak (thanks). Initially the LiveCD is created with a unusable root account (which is slightly different from locked, I guess). Then in an "livesys" initscript the root password is emptied. But if I boot to single user mode, the emergency password is asked before livesys is run, thus I can't provide the emergency password. If we changed our kickstart in spin-kickstarts, we could create the LiveCD with no root password right from the beginning. But, since this was the first time I needed something like that and I guess nobody else ever needed it, I'll just close it and won't bother people. If someone ever needs to have this working, he/she can reopen the bug. |