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.
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.
Why not in the installer
Section titled “Why not in the installer”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.
What the installer prepares
Section titled “What the installer prepares”- 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.
First start
Section titled “First start”- If the root is encrypted, the boot asks for the disk passphrase.
- The sign-in screen finds no account and shows Create your account.
- The person enters a name, a user name and a password.
- systemd-homed creates the home as a LUKS2 image.
- 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.
Three different secrets
Section titled “Three different secrets”| 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.
How it was tested
Section titled “How it was tested”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.