register_new_matrix_user -c homeserver.yaml -u carol --password-file /tmp/carol-pw.txt --no-admin
Create a user with the password read from a file
Reads the new password from the file instead of the command line, keeping it out of shell history and process listings. The file's trailing newline is stripped automatically. Handy for bulk user creation loops; --exists-ok makes the same script safe to rerun. The file must be readable by the account running the command.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.