A newbie error I made when changing /etc/X11/Xsession.d/99qt5ct stopped my Pi 4 booting without a password. Which of course I have forgotten/lost!
From what I could find searching, most of the info on changing cmdline.txt in boot relates to the earlier Pi's and not the 4.
Do I understand correctly: the Pi 4 has some of the boot info, including the root password held on the SOC? And if correct - is there a way to change it?
Note: I did change the "Pi" password - some time back. That is the one I have forgotten. I have attempted modifying the cmdline.txt. Inserting init=/bin/sh after rootwait. The result was the usual stream of text as the OS loaded but that stopped with a flashing "-" and no option to enter text