Bug 628929
Summary: | init 1 wants root password | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Lautrbach <plautrba> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | iarlyy, jonathan, lpoetter, metherid, mschmidt, mtasaka, notting, plautrba, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-09-14 23:26:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Petr Lautrbach
2010-08-31 12:40:20 UTC
s/sulogin/sushell/ in single.service should do it. BTW, in upstart it is configurable whether to start sulogin or sushell in single-user mode using SINGLE=... in /etc/sysconfig/init. Hmm, why would you want a password-less shell there? History, more than anything else. It's always been that ay. In any case, s/sulogin/sushell/ is needed for SELinux reasons. (In reply to comment #4) > In any case, s/sulogin/sushell/ is needed for SELinux reasons. I don't think so. They both give you an unconfined_t shell. sulogin and sushell will. execing just a shell won't. Well, but we currently use sulogin. I find it really weird if booting into single user mode would not ask for a password. I'm not sure what to tell you. It's been the default that way for 15 years, for better or worse... have you really not noticed? (In reply to comment #3) > Hmm, why would you want a password-less shell there? Typically, I use if (it's used) as rescue runlevel, e.g. if I don't know root password or authentication is broken or I need reset root password. It's better then init=/bin/bash But it would be nice to let administrator set sulogin instead sushell (sushell as default) via configuration variable like it's now done with upstart. (In reply to comment #8) > I'm not sure what to tell you. It's been the default that way for 15 years, for > better or worse... have you really not noticed? I noticed, but I kinda assumed that was oversight. This is fixed in 9-3/initscripts-9.19-1. |