How to change emergency.service to get a command line with a "locked root account" when boot fails?

This page summarizes the projects mentioned and recommended in the original post on /r/archlinux

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • sd-zfs

    Compatibility between systemd and ZFS roots

    I've also added the PR #24 patches to support native encryption

  • systemd

    The systemd System and Service Manager

    However, I'm running into the famous "root account locked" problem asking to check sulogin(8). I did, and it didn't help.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • svntogit-packages

    Discontinued Automatic import of svn 'packages' repo (read-only mirror)

    For the long term, I may replace my emergency.service by a shadow file to unlock the root account and use the real password: there was a working patch but it was reverted possibly because it risks leaking the root password hash which doesn't seem a huge risk to me? Another solution is to use a /etc/shadow.initramfs with a special password just used for initrd rescue.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts