1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-07-12 22:41:50 +02:00
Files
docs
README.md
ansible.md
configuring-dns.md
configuring-playbook-bridge-appservice-irc.md
configuring-playbook-bridge-mautrix-telegram.md
configuring-playbook-bridge-mautrix-whatsapp.md
configuring-playbook-email.md
configuring-playbook-external-postgres.md
configuring-playbook-federation.md
configuring-playbook-ldap-auth.md
configuring-playbook-matrix-corporal.md
configuring-playbook-mxisd.md
configuring-playbook-own-webserver.md
configuring-playbook-rest-auth.md
configuring-playbook-s3.md
configuring-playbook-shared-secret-auth.md
configuring-playbook-ssl-certificates.md
configuring-playbook-telemetry.md
configuring-playbook.md
configuring-well-known.md
howto-server-delegation.md
importing-media-store.md
importing-postgres.md
importing-sqlite.md
installing.md
maintenance-and-troubleshooting.md
maintenance-checking-services.md
maintenance-postgres.md
maintenance-upgrading-services.md
prerequisites.md
registering-users.md
uninstalling.md
examples
group_vars
inventory
roles
.editorconfig
.gitignore
CHANGELOG.md
LICENSE
README.md
ansible.cfg
setup.yml
matrix-docker-ansible-deploy/docs/registering-users.md

30 lines
1.2 KiB
Markdown
Raw Normal View History

# Registering users
Run this to create a new user account on your Matrix server.
You can do it via this Ansible playbook (make sure to edit the `<your-username>` and `<your-password>` part below):
ansible-playbook -i inventory/hosts setup.yml --extra-vars='username=<your-username> password=<your-password> admin=<yes|no>' --tags=register-user
**or** using the command-line after **SSH**-ing to your server (requires that [all services have been started](#starting-the-services)):
/usr/local/bin/matrix-synapse-register-user <your-username> <your-password> <admin access: 0 or 1>
**Note**: `<your-username>` is just a plain username (like `john`), not your full `@<username>:<your-domain>` identifier.
**You can then log in with that user** via the riot-web service that this playbook has created for you at a URL like this: `https://riot.<domain>/`.
-----
If you've just installed Matrix, **to finalize the installation process**, it's best if you proceed to [Configuring service discovery via .well-known](configuring-well-known.md)
-----
The script `/usr/local/bin/matrix-make-user-admin` may be used to upgrade a user's privileges:
* log on to your server with ssh
* execute with the username:
/usr/local/bin/matrix-make-user-admin <username>