Add admin pwd change script to linux etc posix systems

This commit is contained in:
2026-08-29 20:10:36 +03:00
parent 4512f78033
commit d1fdd8f029
3 changed files with 51 additions and 1 deletions
+6
View File
@@ -22,9 +22,15 @@ The initial administrator account is `admin` with password `admin`, as requested
With the Docker service running, rotate the initial password locally. The command prompts for a new password without writing it to a file or command history. It also clears the old MFA binding so that the next administrator sign-in requires a new QR-based authenticator enrollment.
```powershell
# Windows PowerShell
.\scripts\rotate-admin.ps1
```
```sh
# Linux, macOS, or any POSIX shell
sh ./scripts/rotate-admin.sh
```
After it prints `ADMIN_PASSWORD_ROTATED_MFA_RESET`, sign in as `admin` with the new password, scan the fresh QR code with an authenticator application, and enter its six-digit code to complete enrollment. Store the new password in a password manager.
## Email and password recovery