| SYNAPSE_REGISTER_NEW_MATRIX_USER(1) | General Commands Manual | SYNAPSE_REGISTER_NEW_MATRIX_USER(1) |
synapse_register_new_matrix_user - Used to register new users with a given home server when registration has been disabled
synapse_register_new_matrix_user options...
synapse_register_new_matrix_user registers new users with a given home server when registration has been disabled. For this to work, the home server must be configured with the 'registration_shared_secret' option set.
This accepts the user credentials like the username, password, is user an admin or not and registers the user onto the homeserver database. Also, a YAML file containing the shared secret can be provided. If not, the shared secret can be provided via the command line.
By default it assumes the home server URL to be https://localhost:8448. This can be changed via the server_url command line option.
A sample YAML file accepted by synapse_register_new_matrix_user is described below:
registration_shared_secret: "s3cr3t"
$ synapse_register_new_matrix_user -u user1 -p p@ssword -a -c config.yaml
This man page was written by Rahul De «rahulde@swecha.net» for Debian GNU/Linux distribution.
synctl(1), synapse_port_db(1), synapse_hash_password(1)
| March 2022 |