diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2022-07-26 12:08:25 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2022-07-26 12:08:25 +0100 |
| commit | fb582e2e670a0b5fbc40d4329a7e56e15d944774 (patch) | |
| tree | 0cf70760beb0f1d376ff28ce13dab8b09754cb5b /README.md | |
| parent | ca06d62f2ef63bd00b5729e48c64a2688e46ae14 (diff) | |
| parent | 01b2432007766a6a1acc942f62d4ece7b25e560d (diff) | |
Merge remote-tracking branch 'origin/master' into arm64
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. |
