Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2023 11:12:54 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: Surprise null root password
Message-ID:  <20230527111254.e9007105f4c5ca6ad8455e72@dec.sakura.ne.jp>
In-Reply-To: <ZHFADmqAmjJOCuIH@www.zefox.net>
References:  <ZHDt21wFlpJfQKEs@www.zefox.net> <945C9B6D-F2A8-4F0D-BDB0-49A3DE870168@karels.net> <ZHD%2BND6ilBGaOgcv@www.zefox.net> <CAG5KPzwLheqT_EuiexFRJuD4PyFNzyhCQfmToe4myr3K3YfKpQ@mail.gmail.com> <ZHEGpyKSWj4X/6Lk@www.zefox.net> <61e30711-f0da-2f42-3a6f-9bd91fc6b1ce@aetern.org> <ZHFADmqAmjJOCuIH@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 May 2023 16:26:06 -0700
bob prohaska <fbsd@www.zefox.net> wrote:

> On Fri, May 26, 2023 at 10:55:49PM +0200, Yuri wrote:
> > 
> > The question is how you update the configuration files,
> > mergemaster/etcupdate/something else?
> > 
> 
> Via etcupdate after installworld. In the event the system
> requests manual intervention I accept "theirs all". It seems
> odd if that can null a root password.
> 
> Still, it does seem an outside possibility. I could see it adding
> system users, but messing with root's existing password seems a
> bit unexpected.  
> 
> Thanks very much for raising the point!
> 
> bob prohaska

Maybe that's it.

As you chose "theirs all" (maybe theirs-full?), conflicted files
(include /etc/master.passwd) are overwritten by brand-new default ones.

You should choose "(e) edit" and manually merge them correctly.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



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