photoprism update

This commit is contained in:
foglar 2024-09-14 21:11:26 +02:00
parent b800d6babf
commit 50b854fd34

View File

@ -5,6 +5,29 @@ PhotoPrism is a self-hosted photo management platform designed to organize, brow
> [!IMPORTANT]
> If using docker all commands should be prefixed like this `docker compose exec photoprism *photoprism passwd foglar*`
## Administration - User management
## Administration
- Change user password `photoprism passwd [username]`
- Create new user `photoprism users add -p [password] -n "[name]" [login]`
### User management
| CLI Command | Description |
| ----------------------------------------- | -------------------------------------------- |
| photoprism users ls [search] | Searches existing user accounts |
| photoprism users legacy [search] | Searches legacy user accounts |
| photoprism users add [options] [username] | Adds a new user account |
| photoprism users show [username] | Displays user account information |
| photoprism users mod [options] [username] | Modifies an existing user account |
| photoprism users rm [username] | Removes a user account |
| photoprism users reset --yes | Removes all accounts and resets the database |
### Session management
| CLI Command | Description |
| --------------------------------- | -------------------------------------------------------- |
| photoprism auth ls [search] | Lists currently authenticated users and clients |
| photoprism auth add [username] | Adds a new authentication secret for client applications |
| photoprism auth show [identifier] | Shows detailed information about a session |
| photoprism auth rm [identifier] | Deletes a session by id or access token |
| photoprism auth reset --yes | Resets the authentication of all users and clients |