Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: carrier@chabot.ced.berkeley.edu (Stephen Carrier)
Subject: boot single-user paradox
Date: 1995/12/09	[thread overview]
Message-ID: <4aanm1$b92@agate.berkeley.edu> (raw)

This is a simple thing, I want the system to prompt for root password
when it comes up single-user, for reasons that are easy to imagine.

Analyzing the boot-up scripts leads to a strange paradox.  Looking at
/etc/inittab for runstate "S" the only thing called is "/sbin/rc0
shutdown".  Walking through the code of the rc0 script with "shutdown"
as parameter leads to the following interpretation: rc0 does some
stuff, then calls "init S".  I don't see how this can fail to cause an
infinite loop, yet the system boots.

(I would like to put something like "exec login" at the exit point, but
examination does now show an exit point.  This isn't important to the
paradox.)

Also, the shell that starts on the console ought to be explicitly
invoked somehow.  Perhaps the how of that invokation is a related
question.

Any guruistic insight mightily appreciated.

Stephen Paul Carrier		carrier@nature.berkeley.edu
UNIX Systems Analyst		(510)643-7861
College of Natural Resources
University of California at Berkeley



                 reply	other threads:[~1995-12-09  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox