mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update DISCLAIMER.md
Add sudo to eliminate confusion.
This commit is contained in:
parent
b0850e5e51
commit
e3df5a5420
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,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