REGISTER_NEW_MATRIX_USER(1)
π¦ register_new_matrix_user β bestie's guide to adding users when signups are locked ππ
okay so real talk: this is register_new_matrix_user, a manual page from the REGISTER_NEW_MATRIX_USER(1) section, and it's literally the tool you reach for when you need to make new accounts on a home server that has registration turned off. no cap, it's giving "backstage pass" energy. π
β¨ NAME β¨
register_new_matrix_user β the little tool you use to register new users with a given home server when registration has been disabled. π«Ά
πΈ SYNOPSIS πΈ
register_new_matrix_user options...
π DESCRIPTION π
so register_new_matrix_user registers new users with a given home server when registration has been disabled. but heads up bestie: for this to work, the home server must be configured with the registration_shared_secret option set. that's the whole vibe check, no secret = no entry. π
it accepts the user credentials β the username, the password, whether the user is an admin or not β and registers that user right onto the homeserver database. slay. π
also, you can hand it a YAML file containing the shared secret. if you don't, that's fine too β you can just supply the shared secret via the command line instead. β¨
by default it assumes the home server URL is https://localhost:8448, which is the icon default. you can change that with the server_url command line option. π
π FILES π
here's a sample YAML file that register_new_matrix_user accepts, described below for you:
registration_shared_secret: "s3cr3t"
π OPTIONS π
-u,--userβ local part of the new user. will prompt if omitted. π§-p,--passwordβ new password for the user. will prompt if omitted. > ok so real warning time: supplying the password on the command line is not recommended. use the STDIN instead. π-a,--adminβ register the new user as an admin. will prompt if omitted. π₯-c,--configβ path to the server config file containing the shared secret. π-k,--shared-secretβ the shared secret as defined in the server config file. this is an optional parameter, since it can also be supplied via the YAML file. πΈserver_urlβ URL of the home server. defaults tohttps://localhost:8448. β
π EXAMPLES π
$ register_new_matrix_user -u user1 -p p@ssword -a -c config.yaml
π COPYRIGHT π
this man page was written by Rahul De <mailto:rahulde@swecha.net> for the Debian GNU/Linux distribution. π«Ά
π¦ SEE ALSO π¦
synctl(1), synapse_port_db(1), hash_password(1), synapse_review_recent_signups(1)
and that's the whole page bestie, ate and left no crumbs π
β¨ β this one's from July 2021, REGISTER_NEW_MATRIX_USER(1), so go forth and register responsibly ππ
π¦ where this page comes from
- opensuse-leap 16.0: matrix-synapse 1.132.0-bp160.1.4 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: matrix-synapse 1.132.0-bp160.1.4 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: matrix-synapse 1.132.0-bp160.1.4 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: matrix-synapse 1.132.0-bp160.1.4 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms