Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 1995 08:02:19 -0800 (PST)
From:      dima@FreeBSD.ORG (Dima Ruban)
To:        ache@astral.msk.su (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Cc:        CVS-commiters@freefall.freebsd.org, cvs-sbin@freefall.freebsd.org
Subject:   Re: cvs commit: src/sbin/init init.c
Message-ID:  <199511101602.IAA00337@freefall.freebsd.org>
In-Reply-To: <mCmAtemq64@ache.dialup.demos.ru> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Nov 10, 95 06:41:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help
=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= writes:
> 
> In message <199511100707.XAA09714@freefall.freebsd.org> Dima Ruban
>     writes:
> 
> >dima        95/11/09 23:07:00
> 
> >  Modified:    sbin/init  init.c
> >  Log:
> >  If root does not have a password, `init' should not ask to enter it.
> >  otherwise it's not possible to get into single-user mode, if root
> >  does not have password and console insecure.
> 
> Maybe empty string (i.e. press Enter alone) could be better
> int his case?

Don't think so. Previous version of `init' required you to
press enter or ctrl-d to go to multi-user mode and to type
password to hang in single-user mode. I think - this is
logical, not to ask password when user (in this case root)
doesn't have such. For example, if you don't have password,
"Password: " prompt doesn't even appear ... IMHO, `init'
should work the same way :-)

> 
> -- 
> Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
> ache@astral.msk.su       : That any beholder  /Might fancy me dead -
> http://dt.demos.su/~ache : Might start at beholding me,  /Thinking me dead.
> RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849
> 

-- dima



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511101602.IAA00337>