News:

LATEST RELEASE:  FPP 8.5.1 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/8.5

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16919
Latest: Danvin21
New This Month: 13
New This Week: 2
New Today: 0
Stats
Total Posts: 135577
Total Topics: 17009
Most Online Today: 271
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 86
Total: 86

Resetting or Removing FPP Password (with Windows)

Started by greenreader9, April 12, 2024, 10:03:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

greenreader9

Hello! Hoping someone here can help me out :)

I setup FPP initially around November, and got it working with the lights just the way I wanted it. I finally got around to start soldering my custom PCB's and such to make things easier. Just finished soldering the first one, and went to test it, but I locked myself out of FPP. I can't login via the UI (I get the htaccess password pop-up), and I can't login via SSH (I get the wrong password message.


--Continued in comment below due to message length limit--

greenreader9

The defaults (fpp / falcon and fpp / christmas) don't work (Tried doing "Falcon" and "Christmas" as well). I imagine I changed it to something else, but my dumb self apparently used a unique password and never wrote it, or a password hint down anywhere (Least not that I can find).

I pulled the SD card out and brought it into Windows, and opened it with DiskInternals Linux Reader. Could not find a htaccess or htpasswd file anywhere. I have a feeling that the file is in the highlighted partition, but I don't know how to get to it. I really don't want to re-install since I know I spent a few hours getting it setup in November.

Thanks for any assistance you can offer!



CaptainMurdoch

The htpasswd and htaccess files are on the other, large partition.  The normal file paths for FPP are /home/fpp/media/config/.htpasswd and /home/fpp/media/config/.htaccess

I don't think that you can update those using the Linux Reader, but you should be able to see the passwords you configured during the initial setup by looking at the /home/fpp/media/settings file and then you can boot the SD card back up and login remotely.
-
Chris

greenreader9

Thanks for your response!

I figured the files were in there somewhere, but thanks for the confirmation! Knowing the file paths will also save me some time I'm sure.

I managed to get the partition open in DiskInternals, but since there is no edit access or anything there, I attempted to open it in Ex2 Volume Manager where I just get "This file is write protected" notices from Windows (And apparently EX2 does not support EXT4 partitions).

Saw something that pointed me to the WSL tool built-in to windows, so I installed that, and Ubuntu 22.04 to get WSL2 installed. Turns out that there is some long-standing issue with Raspberry Pi SD cards and that program that MS seems unwilling to fix (Link)

I was able to read the .htaccess file with says my username is "Falcon Player", and the config file listed the name as "primary" and the password as "raspberry", but no combination of those (Including using Title Case) worked for getting into the WebUI, FTP, or SSH.

Any other thoughts on how I can delete the .htpasswd file and edit out the "Auth" lines in .htaccess?

Thanks


Poporacer

A couple things. 
Setting a UI password is like putting a lock on youre refrigerator in case someone breaks into your house. If someone has hacked your network, the only thing that the UI password will prevent is someone scheduling Baby Shark over and over. It doesn't provide any network security.
I don't think there are any tools that will allow you to view/edit the partition info on a Windows machine outside of a Virtual Machine running Linux.
If you were to have just re-imaged the card, you would have been back up and running yesterday. It only takes about 20 minutes and with xLights able to manage most things it is a simple process. 
This might help? 
https://youtu.be/457MX-EZ8U0?si=7qxi0lYG6KF2ci3c
If to err is human, I am more human than most people.

CaptainMurdoch

The password is in the settings file I mentioned.
-
Chris

greenreader9

Quote from: Poporacer on April 13, 2024, 07:29:47 PMIf you were to have just re-imaged the card, you would have been back up and running yesterday.
Yeah I realize that. However, I would really like to learn how this works as well, not just restart and not learn anything. I totally get where you are coming from though :)

Quote from: CaptainMurdoch on April 13, 2024, 08:04:33 PMThe password is in the settings file I mentioned.
I see the password, but it won't let me log in using it



So the UI username is "Falcon Player"


and the password is "raspberry".

That combo won't let me login to the UI though.

Also tried logging into FTP with username "Falcon Player" and "primary", both with password "raspberry":

If I use the FTP protocol (Port 21), I get "Could not connect to server"

Trying with SSH (Tried passwords 'raspberry', 'primary' and 'Falcon Player' for each attempt):



Is there anything I am doing wrong here, or is something just broken somewhere else?

Thanks!

PixelsAndPepsi

UI login is "admin" and ssh login is "fpp".

greenreader9

Quote from: PixelsAndPepsi on April 14, 2024, 01:32:58 PMUI login is "admin" and ssh login is "fpp".
Thank You! 

(I am also now realizing the stupid mistake I made of thinking "AuthName" was the username and not the user prompt)

SSH still won't work but I don't really care since I have access to the UI now

Thank you again!

Support FPP

+- Recent Topics

Something changed when using FPP Connect by algerdes
Today at 07:12:54 AM

Macbook Pro M4 Red/Green Status Functionality On Controller Tab by allknowing2012
April 21, 2025, 07:01:13 PM

Mega tree guy lines by JonD
April 20, 2025, 10:06:56 AM

BBB SD Card max size? by megaxxl33@gmail.com
April 19, 2025, 09:36:11 PM

LYNX ZEUS 16/8/scc by edwinpeek
April 14, 2025, 05:54:16 PM

F16v5 Monitor tab not displaying any information by FireSlayer
April 10, 2025, 09:05:58 PM

LED Matrix by Dan01
April 10, 2025, 11:18:29 AM

Using FPP for synchronized video only by jnealand
April 06, 2025, 05:04:19 PM

COMMAND PRESETS - turn on off GPIO by yolomann
April 05, 2025, 08:32:05 PM

F48V5 test question by dustin2471
April 03, 2025, 03:17:45 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod