Add interactive password change command without service restart

This commit is contained in:
2026-11-08 21:45:51 +00:00
parent 8016108558
commit 543e3f063a
5 changed files with 266 additions and 2 deletions
+14 -2
View File
@@ -319,8 +319,20 @@ the installer rather than being reset.
The same password is given to the ntfy `phone-reader` account when that account
is first created; existing ntfy accounts keep their passwords.
To change the web password, edit `password` in `web-auth.json` (keep it 0600)
and run `pipelines restart`.
After updating the installation, change the web sign-in password from the
checkout with:
```sh
./password
```
It prompts twice without echoing the password, requires at least eight
characters, and writes the private password file atomically. The updated web
proxy picks it up on the next request; no service restart is needed, and existing
sessions and running tasks remain connected. SSH is supported with an interactive
TTY. This changes the web/app sign-in password; the ntfy notification account's
password is unchanged. `--prefix PATH` selects another installation, and
`PIPELINES_WEB_AUTH_FILE` selects an explicitly configured password file.
## Upgrading