Files
systemd/src
dongshengyuan 50eaa51ce1 firstboot: validate root shell credentials
Validate passwd.shell.root after reading the credential so it uses
the same target-root shell checks as --root-shell= and prompted input.

Reproducer: CREDENTIALS_DIRECTORY=... systemd-firstboot --root=...
with passwd.shell.root=/bin/nonexistentshell

Before: /etc/passwd was written with the nonexistent root shell and
the command exited successfully.

Follow-up: 416f7b3a11
2026-07-18 15:48:34 +08:00
..
2026-07-15 12:12:40 +02:00
2026-07-15 12:12:40 +02:00
…
2026-07-15 12:12:40 +02:00
2026-07-15 12:12:40 +02:00
2026-07-15 12:12:40 +02:00
…
2026-07-15 12:12:40 +02:00
…
2026-07-15 12:12:40 +02:00
2026-07-15 12:12:40 +02:00
2026-07-15 12:12:40 +02:00
2026-07-15 12:12:40 +02:00