Raspberry-Pi-OS-64bit icon indicating copy to clipboard operation
Raspberry-Pi-OS-64bit copied to clipboard

ssh default passwd wrong

Open rmGFW opened this issue 3 years ago • 5 comments

rmGFW avatar May 20 '22 11:05 rmGFW

command:ssh [email protected] passwd:raspberry

rmGFW avatar May 20 '22 11:05 rmGFW

See https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/

popcornmix avatar May 20 '22 13:05 popcornmix

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.

lurch avatar May 20 '22 16:05 lurch

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.

mikenor avatar May 22 '22 22:05 mikenor

Thanks - I've added a note to https://github.com/raspberrypi/documentation/issues/2537

lurch avatar May 23 '22 00:05 lurch