[systemd-devel] systemd-firstboot skip root password initialisation if /etc/shadow is present
David Herrmann
dh.herrmann at gmail.com
Mon Sep 21 10:45:52 PDT 2015
Hi
On Fri, Sep 18, 2015 at 6:31 PM, Francis Moreau <francis.moro at gmail.com> wrote:
> Hi,
>
> I find odd that systemd-firstboot skips root password init if
> /etc/shadow exists because AFAICS this file is always part of a
> minimal rootfs after being setup by an installer. Indeed it's
> populated during package installation.
>
> So I can't see a case where systemd-firstboot would prompt for a root password.
If an installer ships a shadow file, then we expect the installer to
populate it. The firstboot tool will recover situations where you
deleted /etc entirely (eg., factory reset).
Thanks
David
More information about the systemd-devel
mailing list