Replacing the Default User Id and Password on Bookworm and Earlier OSes

The latest Raspaberry Pi Imager program removed the ability to customize custom OS images, so you will need to use v1.9.6 or earlier to configure first boot initialization.

To replace the pi user and/or password, use the Raspberry Pi Imager v1.9.6, press the gear icon and set a new username and password in the Advance Options screen before writing the OS to the SD card or eMMC.