[RFC PATCH] use sulogin in single-user mode
Ricky Zhou
ricky at fedoraproject.org
Thu Jan 21 17:56:17 UTC 2010
On 2010-01-21 12:21:45 PM, Bill Nottingham wrote:
> By far, the simplest fix is to run something that starts a shell
> via a 'normal' login-ish mechanism. Hence, the attached patch
> that switches to sulogin for single user mode.
>
> However, this changes behavior that has existed since the dawn
> of time in Red Hat/Fedora systems; with this change, single-user
> mode would now require the root password. This is both when
> booting with 'linux single/linux S', or going to runlevel 1
> with 'telinit 1'.
I'm not crazy about this change. A lot of people are probably used to
using single user mode with forgotten root passwords, and documentation,
etc. would need to be switched to use init=/bin/sh instead.
Are there alternative simple fixes, like maybe running su --login or
something like that?
Thanks,
Ricky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100121/5ec69d14/attachment.bin
More information about the devel
mailing list