Subject: Re: which init? (Was Re: HEADS UP: fully dynamic linked system now the
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 09/26/2002 22:21:48
Manuel Bouyer wrote:
> On Wed, Sep 25, 2002 at 02:40:19PM -0400, William Waites wrote:
> > Is there a way to turn this off? IIUC it makes marking the console
> > insecure in /etc/ttys useless since you can just boot '-a
> > /bin/sh'... Just like that Finnish OS (init=/bin/sh) ;)
>
> Did you try it ? I'm not sure /bin/sh will work on NetBSD as proc 1.
> Especially I'm not sure file descriptors 0,1,2 would be properly open.
Doesn't actually matter too much - the user could just run their
specially adjusted init (the source is available, after all).
I'd be happier it it would just fallback to /rescue/init, rather
than ask for location.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow. Do not let this distract you.'' -=-