From e3df5a54207afc6a32bad921228480a966d1d5b2 Mon Sep 17 00:00:00 2001 From: nomore1007 <31173535+nomore1007@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:22:31 -0700 Subject: [PATCH] Update DISCLAIMER.md Add sudo to eliminate confusion. --- doc/DISCLAIMER.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 1ed7203..bcee482 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -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