How to reset octopi username / password


#1

Hey there,

i searched the internet for hours now, only to find entries to octoprint over and over, which is not solving my problem.

I am running octoprint with octopi on my raspberry pi.
I forget my username or password to login onto my raspberry pi.
I still can access octoprint and still have my password and username for it.

I need the username / password for my octopi, to login via SSH.
I tried to login to my raspberry pi locally, but it also asks me for username and password.
Is there any way to reset it or grant me access?

Greetings


#2

For SSH you need the raspbian username and password.
If you did not changed them, those are:
username: pi
password: raspberry


#3

yeah, the problem is, i changed them but cant recognize.
Is there any way to reset or change them, without reinstalling the whole thing?


#4

I've found these in the www:
Link 1
and this:
Link 2

I hope they help


#5

Hi,

i already tried that.

I get the error "Authentication manipulation error"
Then i tried to put it in read and write mode (as mentioned on your 2nd link), but i get the error cant find partuuid=....


#6

I assume you saw the first comment with the second link.
Seem it gets tricky...


#7

yep. /dev/mmcblk0p2 is already mounted or / busy

/e: okay, i am dumb, i forgot the "remount" all time....

So heres the conclusion for everyone with the same problem:

Follow the instrutions on http://mapledyne.com/ideas/2015/8/4/reset-lost-admin-password-for-raspberry-pi
Use WordPad instead of editor, as the command has to be in one line, editor didnt do that for me, even it looked like.