# Forgot password

**URL:** <https://dietpi.com/forum/t/forgot-password/25552>\
**Category:** Troubleshooting\
**Created:** [1 November 2026 11:24 UTC](https://dietpi.com/forum/t/forgot-password/25552 "2026-11-01T11:24:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NinjaEule](https://dietpi.com/forum/user_avatar/dietpi.com/ninjaeule/32/8607_2.png) [@NinjaEule](https://dietpi.com/forum/u/NinjaEule)\
**Post date:** [1 November 2026 11:24 UTC](https://dietpi.com/forum/t/forgot-password/25552/1 "2026-11-01T11:24:45Z")

</div>

### Creating a bug report/issue

I have searched the existing open and closed issues

#### Required Information

> [@Unable to Increase storage and account validity using Ente CLI](https://dietpi.com/forum/t/unable-to-increase-storage-and-account-validity-using-ente-cli/24877/1):
>
> - 
> #### DietPi version | `Core:9 Sub:20 RC:1 branch:master owner:MichaIng`
> - 
> #### Distro version | `trixie`
> - 
> #### Kernel version | `Linux DietPi 6.1.115-vendor-rk35xx #1 SMP Mon Dec 1 08:58:34 UTC 2025 aarch64 GNU/Linux`
> - 
> #### Architecture | `arm64`
> - 
> #### SBC model | `ROCK 5B (aarch64)`
> - 
> #### Power supply used | 30 W (5V-3A 9V-3A 12V-2.5A 15V-2A 20V-1.5A)
> - 
> #### NVMe used | Kingston NV2 NVMe PCIe 4.0 1TB M.2 2280 -SNV2S/1000G

from my last successful login as far as I know

#### Steps to reproduce

1. Set up homeserver in January
2. Everything (Pihole, Jellyfin & Ente Fotos) works
3. Forget about it for some time
4. Ente Fotos stops working
5. Me not having the time to fix it
6. Me finally getting around to fixing it
7. No longer being able to get into the server because I neither remember the PW nor wrote it down as far as I know.

#### Expected behaviour

- Me being able to log in

#### Actual behaviour

- Me not being able to login

#### Extra details

- I can still connect to the server over WinSCP and the PW is stored somewhere in there
- However, I can’t just copy the PW from the PW field since WinSCP won’t let me.
- Guessing the PW was tried but didn’t work.

```auto
paste lines of logs or code into such code fences here

```

Sorry for the rookie mistake, but all my photos are stored somewhere on the server and I don’t want to loose them by resetting it.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [1 November 2026 12:35 UTC](https://dietpi.com/forum/t/forgot-password/25552/2 "2026-11-01T12:35:02Z")

</div>

Do you have a text editor which can create files with UNIX/LF line ending? If so, you could create a cron job which sets the password via `chpasswd`, and move that in place via WinSCP.

---

<div class="post-metadata">

**Author:** ![NinjaEule](https://dietpi.com/forum/user_avatar/dietpi.com/ninjaeule/32/8607_2.png) [@NinjaEule](https://dietpi.com/forum/u/NinjaEule)\
**Post date:** [1 November 2026 12:46 UTC](https://dietpi.com/forum/t/forgot-password/25552/3 "2026-11-01T12:46:59Z")

</div>

Notepad++ should work, right?

How do I create a cron job that sets the password via chpasswd and where do I need to place it once it has been created?
