ssh default passwd wrong
rmGFW opened this issue · 5 comments
command:ssh pi@raspberrypi.local
passwd:raspberry
And also https://www.raspberrypi.com/documentation/computers/getting-started.html#configuration-on-first-boot especially the part where it says:
If you are installing Raspberry Pi OS Lite you will still need to create a new user account. You will therefore be prompted to create an account by text prompts at the command line when you first boot a Lite image. If you are booting Raspberry Pi OS headless you MUST configure the operating system using Raspberry Pi Imager using the Advanced Menu.
especially the part where it says:
If you are installing Raspberry Pi OS Lite you will still need to create a new user account. You will therefore be prompted to create an account by text prompts at the command line when you first boot a Lite image. If you are booting Raspberry Pi OS headless you MUST configure the operating system using Raspberry Pi Imager using the Advanced Menu.
That is incorrect. Using the Imager tool is NOT a MUST. The link shared earlier by @popcornmix explains:
There are also mechanisms to preconfigure an image without using Imager. To set up a user on first boot and bypass the wizard completely, create a file called userconf or userconf.txt in the boot partition of the SD card....
I can confirm that the /boot/userconf
file does work - no Imager required.
Thanks - I've added a note to raspberrypi/documentation#2537