Forgotten raspberry pi login password

Today I am working on an old raspberry pi (model B, original version) and need to get this project up and running, but I have forgotten the password. No problem. Let’s take the SD card and edit the `cmdline.txt` file in the root directory and add `init=/bin/sh` to the end of it (make sure there …

Reset admin account login

Ive had to do this more than I care to mention. I should really know it by heart now, but the short version is: boot into the grub menu and select advanced options head into recover mode drop to root shell prompt you’ll need to remount the filesystem that is currently read only:mount -o rw,remount \ change …