BUG: single option -> a root console

Hans-Christian Armingeon linux.johnny at gmx.net
Sat Mar 2 14:52:30 PST 2002

Am Samstag, 2. März 2002 17:43 schrieben Sie:
> On Sat, Mar 02, 2002 at 11:46:26AM +0100, Hans-Christian Armingeon wrote:
> > Now it works as I want. Thank you. But when I want a normal startup from
> > single, I have to press ctrl-d a few time until the message "respawning
> > too fast" comes, and then the system boots up normally.
> Hm that's not great either.
> Okay what you could do is split up the line from /etc/inittab containing:
> 	su:S016:respawn:/sbin/sulogin
> into something like this:
> 	s1:016:respawn:/sbin/sulogin
> 	s2:S:once:/sbin/sulogin
> that way, when you boot like "LILO: lfskernel single" it'll only run that
> sulogin once, then when you hit ctrl+d to exit the sulogin spawned shell,
> init won't restart sulogin and instead continue. But if you change to
Is there a possibility, that when I exited the sulogin spawned shell, the sulogin password prompt respawns, but when I type a Ctrl-d at the passwd prompt, sulogin exits, and the system boots up normal?
> runlevel 0, 1 or 6, sulogin will respawn in case you exit it. sulogin
> shouldn't even be started in runlevel 0 and 6, it's just a fallthrough in
> case the init.d/reboot or init.d/halt scripts didn't work. You get a shell
> then to fix things and re-try a proper reboot.
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list