diff options
| author | Romain Bazile <romain@bazile.io> | 2022-06-17 16:45:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-17 15:45:08 +0100 |
| commit | 01b2432007766a6a1acc942f62d4ece7b25e560d (patch) | |
| tree | 05583b5bc9fc9ea928fe97fccfb351a3be74357f /README.md | |
| parent | 3385618efbd428bc14a13b7195d44978689d343a (diff) | |
Create a `DISABLE_FIRST_BOOT_USER_RENAME` flag to be set in config (#618)
Closes #614
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -175,14 +175,23 @@ The following environment variables are supported: To get the current value from a running system, look in `/etc/timezone`. - * `FIRST_USER_NAME` (Default: "pi" ) + * `FIRST_USER_NAME` (Default: `pi`) - Username for the first user + Username for the first user. This user only exists during the image creation process. Unless + `DISABLE_FIRST_BOOT_USER_RENAME` is set to `1`, this user will be renamed on the first boot with + a name chosen by the final user. This security feature is designed to prevent shipping images + with a default username and help prevent malicious actors from taking over your devices. * `FIRST_USER_PASS` (Default: unset) Password for the first user. If unset, the account is locked. + * `DISABLE_FIRST_BOOT_USER_RENAME` (Default: `0`) + + Disable the renaming of the first user during the first boot. This make it so `FIRST_USER_NAME` + stays activated. `FIRST_USER_PASS` must be set for this to work. Please be aware of the implied + security risk of defining a default username and password for your devices. + * `WPA_ESSID`, `WPA_PASSWORD` and `WPA_COUNTRY` (Default: unset) If these are set, they are use to configure `wpa_supplicant.conf`, so that the Raspberry Pi can automatically connect to a wireless network on first boot. If `WPA_ESSID` is set and `WPA_PASSWORD` is unset an unprotected wireless network will be configured. If set, `WPA_PASSWORD` must be between 8 and 63 characters. |
