On Thu, 7 Dec 2000, Matthew Melvin wrote:
> On Wed, 6 Dec 2000, Bill Carlson wrote:
>
> Okay cool...
>
> In /etc/inittab I've got...
>
> S0:2345:respawn:/sbin/getty ttyS0 DT9600 vt102
>
> ... for multiuser mode and...
>
> ~~:S:wait:/sbin/getty ttyS0 DT9600 vt102
>
Ok, I have a couple of boxes with this setup (good thing you brought this
up, I would not have had a console for single user!) and tested
some things.
What I did was just add S and 1 to your 'multiuser' line:
S0:S12345:respawn:/sbin/getty ttyS0 DT9600 vt102
This works for me, plus I can logout and back in for those times when I
get carried away with CTRL-D. :)
Problem: What if the libraries are messed up? getty won't work. So how
does rc.sysinit handle it?
Poking around in there, you'll find that when fsck fails, /sbin/sulogin is
called to do that " Give root password for system maintenance\(or type
Control-D for normal startup): " and handle login that way. However, that
again depends on libraries working, logins enables, etc.
I think the best way around this is to compile a static getty and allow it
to login without a password, then only run it in runlevel 1 or S.
Later,
Bill Carlson
--
Systems Programmer [EMAIL PROTECTED] | Opinions are mine,
Virtual Hospital http://www.vh.org/ | not my employer's.
University of Iowa Hospitals and Clinics |
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list