firstboot: create locked and empty root passwords consistently
authorDan Nicholson <dbn@endlessos.org>
Tue, 30 Jul 2024 17:11:11 +0000 (11:11 -0600)
committerLuca Boccassi <bluca@debian.org>
Thu, 15 Aug 2024 13:04:41 +0000 (14:04 +0100)
commit21d270d38f821915949e3c13950637994c33d34f
tree20c712af75c8b01d15455384e13fa6860736c809
parentfdf270a89e22ca9b0171153479cfda0c7922699e
firstboot: create locked and empty root passwords consistently

Although locked and empty passwords in /etc/passwd are treated the same, in all
other cases the entry is configured to read the password from /etc/shadow.

(cherry picked from commit 5088de9daa156a095e79684c658f9035db971538)
src/firstboot/firstboot.c
test/units/TEST-74-AUX-UTILS.firstboot.sh