Skip to content

Historical: Linux-based prototype

Accounts and recovery keys after installation

This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.

In testingRecorded statusLast verified

The installer creates no account, asks for no account password and stores none. The person’s account, its encrypted home and its recovery key are created the first time the installed system starts. Virtual machine tests checked the first start of an installed disk and account creation separately, not yet together.

systemd-homed cannot create a home from inside the installer. The alternative would be to keep the password on the new disk until the first start, which would weaken it. So the installer leaves account creation to the first-boot setup in the sign-in screen, which already existed and was tested.

  • The sign-in service (greetd) and systemd-homed are enabled. If either is missing from the new system, the installation fails.
  • The machine ID is created on the first start.
  • The language, keyboard layout, time zone and computer name chosen in the installer are written.
  • The system starts in graphical mode.
  1. If the root is encrypted, the boot asks for the disk passphrase.
  2. The sign-in screen finds no account and shows Create your account.
  3. The person enters a name, a user name and a password.
  4. systemd-homed creates the home as a LUKS2 image.
  5. The recovery key is shown once. Continue needs confirmation that it was written down.

The details are on first boot and accounts. The first account is an administrator in the wheel group, and sudo always asks for its password.

Secret Created Opens
Disk passphrase In the installer, only if disk encryption is on The root filesystem, at every start
Account password At first boot The account and its home
Recovery key At first boot The account’s home, if the password is forgotten

Losing the disk passphrase cannot be repaired with the recovery key. The optional encrypted backup of the recovery key also belongs to first boot and Settings, not to the installer.

Virtual machine tests start both the encrypted and the unencrypted installed disk. They check that the sign-in screen, systemd-homed and NetworkManager are running, that no service has failed, that no account exists, and that the chosen settings are present.

Account creation itself is tested separately in virtual machines, on a system image that was not produced by the installer. Creating an account on an installer-made disk is part of the end-to-end test that phase 5 has not finished.