Add admin pwd change script to linux etc posix systems
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user