diff options
author | Dan Nicholson <dbn@endlessos.org> | 2024-07-30 15:37:40 +0200 |
---|---|---|
committer | Dan Nicholson <dbn@endlessos.org> | 2024-07-31 12:02:43 +0200 |
commit | 35bc4c34240afdd55e117b909f26fa9a5dc54f3b (patch) | |
tree | 546945de6b92a9a1ea6d4e3efba299bc805e1ac1 /LICENSES | |
parent | firstboot: handle missing root password entries (diff) | |
download | systemd-35bc4c34240afdd55e117b909f26fa9a5dc54f3b.tar.xz systemd-35bc4c34240afdd55e117b909f26fa9a5dc54f3b.zip |
firstboot: fix root params with creds and prompting disabled
Remove an early return that prevents --prompt-root-password or
--prompt-root-shell and systemd.firstboot=off using credentials. In that case,
arg_prompt_root_password and arg_prompt_root_shell will be false, but the
prompt helpers still need to be called to read the credentials. Furthermore, if
only the root shell has been set, don't overwrite the root password.
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions