[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Boots into emergency mode. How to analyze?



 Hi.

On Thu, 25 Jun 2015 09:45:10 -0400
The Wanderer <wanderer@fastmail.fm> wrote:

> On 06/25/2015 at 09:22 AM, Lisi Reisz wrote:
> 
> > On Thursday 25 June 2015 13:33:25 The Wanderer wrote:
> > 
> >>> Booting into emergency mode doesn't help me, as I can neither
> >>> login without a root password, nor continue to default mode with
> >>> Ctrl-D because that just throws me back into emergency mode.
> >> 
> >> Why don't you have the root password? Is this not your system, but
> >> just one you've been given for ordinary use?
> > 
> > It is possible, in this Ubuntu-ised world, to install Debian without
> > a root password.
> 
> Wouldn't that just mean that root has _no_ password?

Yep. But note the difference between a user with an empty password, and
a locked account with an empty password. Any sane configuration requires
last one.

Sane one:

# head -1 /etc/shadow
root:!:15829:0:99999:7:::

Swiss cheese:

# head -1 /etc/shadow
root::15829:0:99999:7:::


> Or does it actually set up the system so that root is an account
> configured to not actually log in, at all? 

Try to login in any Display Manager as a root. It should not let you.
Since the Joe/Jane the Modern User is scared of the Black Console -
they have exactly this illusion (i.e. there's no root account).


> That would be a _crazy_ design; there might be situations where it
> could make sense, but they would _not_ be for the casual user!

Nah, that's ok. Just don't believe everything they tell you about
operating systems' design (especially as far as security is concerned).
For reason unknown they always speak about it the most oversimplified
and opaque way possible :)

Reco


Reply to: