mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update README.md
The command will not work unless ran as sudo. I figured it out after attempts to set up a server.
This commit is contained in:
parent
b0850e5e51
commit
65415454ec
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ Actually there are no functions in the client interface to set a user as admin.
|
|||
|
||||
The following command will grant admin privilege to the specified user:
|
||||
```
|
||||
su --command="psql matrix_synapse" postgres <<< "UPDATE users SET admin = 1 WHERE name = '@user_to_be_admin:domain.tld'"
|
||||
sudo su --command="psql matrix_synapse" postgres <<< "UPDATE users SET admin = 1 WHERE name = '@user_to_be_admin:domain.tld'"
|
||||
```
|
||||
|
||||
### Administration API
|
||||
|
|
Loading…
Add table
Reference in a new issue