commands.sh

register_new_matrix_user

linux

Register new users in a home server when registration has been disabled.

More info →

Examples (3)

Create a user interactively

register_new_matrix_user --config path/to/homeserver.yaml

Create an admin user interactively

register_new_matrix_user --config path/to/homeserver.yaml --admin

Create an admin user non-interactively (not recommended)

register_new_matrix_user --config path/to/homeserver.yaml --user username --password password --admin
made by @shridhargupta | data from tldr-pages