diff options
author | Erik Johnston <erik@matrix.org> | 2021-07-06 13:03:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 13:03:16 +0100 |
commit | 6655ea558727138a80ea70fdbd9ee89b041f180f (patch) | |
tree | e847da3bf5fd36a68bf69ebbed2384d60ab1937e /debian/synapse_review_recent_signups.ronn | |
parent | Handle old staged inbound events (#10303) (diff) | |
download | synapse-6655ea558727138a80ea70fdbd9ee89b041f180f.tar.xz |
Add script for getting info about recently registered users (#10290)
Diffstat (limited to 'debian/synapse_review_recent_signups.ronn')
-rw-r--r-- | debian/synapse_review_recent_signups.ronn | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/debian/synapse_review_recent_signups.ronn b/debian/synapse_review_recent_signups.ronn new file mode 100644 index 0000000000..77f2b040b9 --- /dev/null +++ b/debian/synapse_review_recent_signups.ronn @@ -0,0 +1,37 @@ +synapse_review_recent_signups(1) -- Print users that have recently registered on Synapse +======================================================================================== + +## SYNOPSIS + +`synapse_review_recent_signups` `-c`|`--config` <file> [`-s`|`--since` <period>] [`-e`|`--exclude-emails`] [`-u`|`--only-users`] + +## DESCRIPTION + +**synapse_review_recent_signups** prints out recently registered users on a +Synapse server, as well as some basic information about the user. + +`synapse_review_recent_signups` must be supplied with the config of the Synapse +server, so that it can fetch the database config and connect to the database. + + +## OPTIONS + + * `-c`, `--config`: + The config file(s) used by the Synapse server. + + * `-s`, `--since`: + How far back to search for newly registered users. Defaults to 7d, i.e. up + to seven days in the past. Valid units are 's', 'm', 'h', 'd', 'w', or 'y'. + + * `-e`, `--exclude-emails`: + Do not print out users that have validated emails associated with their + account. + + * `-u`, `--only-users`: + Only print out the user IDs of recently registered users, without any + additional information + + +## SEE ALSO + +synctl(1), synapse_port_db(1), register_new_matrix_user(1), hash_password(1) |