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: 16897
Latest: 1492
New This Month: 13
New This Week: 1
New Today: 0
Stats
Total Posts: 135490
Total Topics: 16988
Most Online Today: 85
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 1
Guests: 45
Total: 46

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

Virtual Display not working? by dkulp
March 19, 2025, 11:45:01 AM

PixelOverlay-Clock - Revisited Again by jnealand
March 18, 2025, 06:00:53 PM

PixelOverlay-Clock.php works but I have questions... by datajack
March 18, 2025, 04:38:32 AM

Backup Feature not functional by efamlights
March 16, 2025, 11:58:28 AM

WS2811, Raspberry Pi 5, GPIO, could not initialize. by Ulysse-srfc24
March 16, 2025, 05:07:48 AM

K16A-B Issue by nolatron
March 15, 2025, 01:52:26 PM

F16V5 and SRx1 v5 by jkp
March 15, 2025, 07:19:44 AM

Differential Board: PSU & Enclosure by hakko808
March 14, 2025, 09:17:01 AM

FPP 8.4 Back up by Jradical
March 13, 2025, 05:38:18 AM

FPP on Pi5 won't start with "FPPD boot delay" set to 2 min or higher by dnapier65
March 12, 2025, 05:39:00 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod