How do i find out which Username & PW to use if i forgot them?

A while ago i changed the Username & Password from the default pi & raspberry - how do i find out which username & password i used and how do i get my access back/ reset to default? So i can use SSH again. Totally my mistake, but not the most experienced in Linux.😖
Solution:
Good idea, but you've given me another idea. I used the following method to solve the problem: https://forums.raspberrypi.com/viewtopic.php?t=319398 - Method 3 ...
Jump to solution
5 Replies
TheTik
TheTik•10mo ago
You can reflash the pi, instructions here: https://os.ratrig.com/docs/installation/
Installing RatOS | RatOS
Raspberry Pi Installation
freak1234321
freak1234321OP•10mo ago
Thx for the quick advice, is there no other way? If i reset it can i just copy the config files back in?
TheTik
TheTik•10mo ago
If you could easily extract the old password, it wouldn't be very sedure 😛 And yes, copying the config files back in will get you right back where you were *secure
blacksmithforlife
blacksmithforlife•10mo ago
unless you deleted the old user - try logging in as pi (password raspberry) and then using sudo reset the user you created?
Solution
freak1234321
freak1234321•10mo ago
Good idea, but you've given me another idea. I used the following method to solve the problem: https://forums.raspberrypi.com/viewtopic.php?t=319398 - Method 3 You can recover the access without reinstalling the entire OS. (watch you keyboard layout because of the qwerty/ qwertz) Thx for your help guys.
Want results from more Discord servers?
Add your server