Reset the password on Raspberry Pi - Ubuntu, Debian and other Linux systems

Опубликовано: 23 Октябрь 2024
на канале: Middle Room Workshop
15,122
186

In this video, I will show you how to reset the password of your Raspberry Pi.
The process will work with any version of Raspberry Pi as well as Linux OS, like Ubuntu, Debian, Kali etc...

My post where you can see read if you'd prefer to watch, and you will find all the commands used in the video:
https://middleroomworkshop.com/how-to...

The command to append to the line of code in the cmdline.txt file is "init=/bin/sh"
After booting the Raspberry Pi:
1) "mount -o remount, rw /" ENTER
2) "passwd pi" ENTER (replace pi with the user)
3) follow the instruction to set a new password
3) "sync" ENTER
4) "exec /sbin/init" ENTER

Thanks for watching