Skip to content

Draft: install/{systemd,sd-encrypt}: only lock the root account when using sd-encrypt

nl6720 requested to merge (removed):lock-root-only-with-sd-encrypt into master

Unless full disk encryption is used, there is no use in "protecting" 🙄 access to the root shell in the initramfs.

The only situation where a locked root account may be desired is when LUKS keys are enrolled in TPM.

This fixes the mess made by:

e6c96788 ("lock the root account in initramfs...")

375bf0c6 ("revert changes, but keep locked root account")

Related to #205

Edited by nl6720

Merge request reports

Loading