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