2020-09-20 03:08:16 +00:00
|
|
|
## inviting someone to matrix
|
|
|
|
|
2021-05-02 00:11:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
### using the web application
|
|
|
|
|
|
|
|
https://cyberia.club/matrix-register
|
|
|
|
|
|
|
|
You will need the registration_shared_secret string which is in the matrix server config file
|
|
|
|
|
|
|
|
`cat /etc/matrix-synapse/homeserver.yaml | grep 'registration_shared_secret'`
|
|
|
|
|
|
|
|
### using the shell script
|
|
|
|
|
2020-09-20 03:08:16 +00:00
|
|
|
When someone requests access to matrix they have to provide us with a username. you will enter that username in the command below:
|
|
|
|
|
|
|
|
```
|
|
|
|
cyberian@matrix:~$ sudo register_new_matrix_user -u <persons username> -c /etc/matrix-synapse/homeserver.yaml
|
|
|
|
```
|
|
|
|
|
|
|
|
(you will be prompted to enter a password for the user)
|
|
|
|
|
|
|
|
Then send them an email like:
|
|
|
|
|
|
|
|
```
|
|
|
|
your username is:
|
|
|
|
<persons username>
|
|
|
|
your password is:
|
|
|
|
<password you typed in>
|
|
|
|
|
|
|
|
You should change your password after you log in so I don't know your
|
|
|
|
password :)
|
|
|
|
You can also add an email address to your account after you log in
|
|
|
|
|
|
|
|
```
|